Sha256: 3042c73f93113de9c029e8105d1b57556d422d5552e719c55a78632ef30aab8b
Contents?: true
Size: 464 Bytes
Versions: 2
Compression:
Stored size: 464 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 shapes @shapes ||= {} end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.8.1 | lib/thinreports/core/shape/manager/format.rb |
thinreports-0.8.0 | lib/thinreports/core/shape/manager/format.rb |