Sha256: 6fb4dbb35e46a5427467d9d12f32257aa24aa0762cb6f0a653f7ac6a890a51ce
Contents?: true
Size: 595 Bytes
Versions: 3
Compression:
Stored size: 595 Bytes
Contents
# coding: utf-8 module ThinReports module Layout class Configuration include Core::Shape::Manager::Target undef_method :items, :values # @param [ThinReports::Layout::Base] layout def initialize(layout) initialize_manager(layout.format) do |f| Core::Shape::Configuration(f.type).new end end # @param [String, Symbol] shape_id # @return [Object, nil] # @private def activate(shape_id) (config = manager.shapes[shape_id.to_sym]) && config.copy end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.7.7 | lib/thinreports/layout/configuration.rb |
thinreports-0.7.6 | lib/thinreports/layout/configuration.rb |
thinreports-0.7.5 | lib/thinreports/layout/configuration.rb |