Sha256: 1b99a2959a4c482c24e7065abd4287f3d9b29c03016ecf1b7c09959dd3211df0
Contents?: true
Size: 485 Bytes
Versions: 2
Compression:
Stored size: 485 Bytes
Contents
# coding: utf-8 module Thinreports module Core::Shape class Manager::Format < Core::Format::Base # @return [Symbol, Integer] attr_reader :identifier def initialize(config, id = nil, &block) super(config, &block) @identifier = id || self.object_id end def find_shape(id) shapes[id] end def has_shape?(id) shapes.key?(id) end def shapes @shapes ||= {} end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.9.1 | lib/thinreports/core/shape/manager/format.rb |
thinreports-0.9.0 | lib/thinreports/core/shape/manager/format.rb |