# 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