Class: Radiant::ResourceResponses::Collector
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Radiant::ResourceResponses::Collector
- Defined in:
- lib/radiant/resource_responses.rb
Instance Method Summary collapse
-
#initialize ⇒ Collector
constructor
A new instance of Collector.
- #initialize_copy(orig) ⇒ Object
Constructor Details
Instance Method Details
#initialize_copy(orig) ⇒ Object
51 52 53 54 55 56 |
# File 'lib/radiant/resource_responses.rb', line 51 def initialize_copy(orig) super @table.keys.each do |key| @table[key] = orig.send(key).dup end end |