Sha256: f6b05d526fe9e6fd5eb8c5fd86f671b6227c695fff61aa7cf4b236aff2cf0aba
Contents?: true
Size: 524 Bytes
Versions: 1
Compression:
Stored size: 524 Bytes
Contents
# coding: utf-8 module Thinreports module Core::Shape class Manager::Format < Core::Format::Base # @return [Symbol, Integer] attr_reader :identifier config_reader layout: %w( svg ) 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.8.2 | lib/thinreports/core/shape/manager/format.rb |