Class: Puppet::Pops::Serialization::ObjectArrayBuilder
- Defined in:
- lib/puppet/pops/serialization/from_data_converter.rb
Instance Method Summary collapse
-
#initialize(instance) ⇒ ObjectArrayBuilder
constructor
A new instance of ObjectArrayBuilder.
- #resolve ⇒ Object
Methods inherited from Builder
Constructor Details
#initialize(instance) ⇒ ObjectArrayBuilder
Returns a new instance of ObjectArrayBuilder.
47 48 49 50 |
# File 'lib/puppet/pops/serialization/from_data_converter.rb', line 47 def initialize(instance) super({}) @instance = instance end |
Instance Method Details
#resolve ⇒ Object
52 53 54 55 |
# File 'lib/puppet/pops/serialization/from_data_converter.rb', line 52 def resolve @instance.send(:initialize, *super.values) @instance end |