Hiding private stuff from public documentation

dev
Andy Meneely 2015-05-26 20:55:11 -04:00
parent 07fdfa49d5
commit a20100f3f8
4 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,9 @@
require 'squib/constants'
module Squib
#@api private
module Args
# Internal class for handling arguments
#@api private
class Typographer
def initialize(config = Conf::DEFAULTS)

View File

@ -4,6 +4,7 @@ require 'squib/graphics/gradient_regex'
module Squib
module Graphics
# Wrapper class for the Cairo context. Private.
# @api private
class CairoContextWrapper
extend Forwardable

View File

@ -1,4 +1,5 @@
module Squib
# @api private
module Graphics
STOPS = / # used to capture the stops
\s* # leading whitespace is ok

View File

@ -1,4 +1,5 @@
module Squib
# @api private
class Card
# :nodoc:
@ -125,6 +126,8 @@ module Squib
end
end
# :nodoc:
# @api private
def polygon(x, y, n, angle, radius, fill_color, stroke_color, stroke_width)
use_cairo do |cc|
cc.translate(x, y)