Hiding private stuff from public documentation
parent
07fdfa49d5
commit
a20100f3f8
|
|
@ -1,6 +1,9 @@
|
||||||
require 'squib/constants'
|
require 'squib/constants'
|
||||||
module Squib
|
module Squib
|
||||||
|
#@api private
|
||||||
module Args
|
module Args
|
||||||
|
# Internal class for handling arguments
|
||||||
|
#@api private
|
||||||
class Typographer
|
class Typographer
|
||||||
|
|
||||||
def initialize(config = Conf::DEFAULTS)
|
def initialize(config = Conf::DEFAULTS)
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ require 'squib/graphics/gradient_regex'
|
||||||
module Squib
|
module Squib
|
||||||
module Graphics
|
module Graphics
|
||||||
# Wrapper class for the Cairo context. Private.
|
# Wrapper class for the Cairo context. Private.
|
||||||
|
# @api private
|
||||||
class CairoContextWrapper
|
class CairoContextWrapper
|
||||||
extend Forwardable
|
extend Forwardable
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
module Squib
|
module Squib
|
||||||
|
# @api private
|
||||||
module Graphics
|
module Graphics
|
||||||
STOPS = / # used to capture the stops
|
STOPS = / # used to capture the stops
|
||||||
\s* # leading whitespace is ok
|
\s* # leading whitespace is ok
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
module Squib
|
module Squib
|
||||||
|
# @api private
|
||||||
class Card
|
class Card
|
||||||
|
|
||||||
# :nodoc:
|
# :nodoc:
|
||||||
|
|
@ -125,6 +126,8 @@ module Squib
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# :nodoc:
|
||||||
|
# @api private
|
||||||
def polygon(x, y, n, angle, radius, fill_color, stroke_color, stroke_width)
|
def polygon(x, y, n, angle, radius, fill_color, stroke_color, stroke_width)
|
||||||
use_cairo do |cc|
|
use_cairo do |cc|
|
||||||
cc.translate(x, y)
|
cc.translate(x, y)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue