class Thinreports::Core::Shape::Manager::Format
Attributes
identifier[R]
@return [Symbol, Integer]
Public Class Methods
new(config, id = nil, &block)
click to toggle source
Calls superclass method
Thinreports::Core::Format::Base::new
# File lib/thinreports/core/shape/manager/format.rb, line 11 def initialize(config, id = nil, &block) super(config, &block) @identifier = id || object_id end
Public Instance Methods
find_shape(id)
click to toggle source
# File lib/thinreports/core/shape/manager/format.rb, line 16 def find_shape(id) shapes[id] end
has_shape?(id)
click to toggle source
# File lib/thinreports/core/shape/manager/format.rb, line 20 def has_shape?(id) shapes.key?(id) end
shapes()
click to toggle source
# File lib/thinreports/core/shape/manager/format.rb, line 24 def shapes @shapes ||= {} end