Hiding private stuff from public documentation
parent
07fdfa49d5
commit
a20100f3f8
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
module Squib
|
||||
# @api private
|
||||
module Graphics
|
||||
STOPS = / # used to capture the stops
|
||||
\s* # leading whitespace is ok
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue