Browse Source

Hiding private stuff from public documentation

dev
Andy Meneely 11 years ago
parent
commit
a20100f3f8
  1. 3
      lib/squib/args/typographer.rb
  2. 1
      lib/squib/graphics/cairo_context_wrapper.rb
  3. 1
      lib/squib/graphics/gradient_regex.rb
  4. 3
      lib/squib/graphics/shapes.rb

3
lib/squib/args/typographer.rb

@ -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)

1
lib/squib/graphics/cairo_context_wrapper.rb

@ -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
lib/squib/graphics/gradient_regex.rb

@ -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

3
lib/squib/graphics/shapes.rb

@ -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…
Cancel
Save