Sha256: a2a8eba8c64889e8e6e10bb9750ce4dc371d6d8c2becfaaabf5e1c0cd62ea4b9
Contents?: true
Size: 943 Bytes
Versions: 1
Compression:
Stored size: 943 Bytes
Contents
# coding: utf-8 module ThinReports module Core::Shape class List::Configuration # @return [ThinReports::Core::Shape::List::Events] attr_reader :events # @return [ThinReports::Core::Shape::List::Store] attr_reader :store # @param [ThinReports::Core::Shape::List::Events, nil] events (nil) # @param [ThinReports::Core::Shape::List::Store, nil] store (nil) def initialize(events = nil, store = nil) @events = events || List::Events.new @store = store end # @param [Hash] stores :name => default value def use_stores(stores) @store = List::Store.init(stores) end # @return [ThinReports::Core::Shape::List::Configuration] # @private def copy self.class.new(@events.copy, @store && @store.copy) end # @return [String] def type List::TYPE_NAME end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.7.7 | lib/thinreports/core/shape/list/configuration.rb |