Sha256: d9713888c032ceb28484afafe455f125d8e924df7983221950025843b3872ddd
Contents?: true
Size: 587 Bytes
Versions: 2
Compression:
Stored size: 587 Bytes
Contents
# coding: utf-8 module ThinReports module Layout class Configuration include Core::Shape::Manager::Target undef_method :items, :values # @param [ThinReports::Layout::Base] 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.7.0 | lib/thinreports/layout/configuration.rb |
thinreports-0.6.0.pre3 | lib/thinreports/layout/configuration.rb |