Class: Hospodar::Builder::Strategies::Enumerate
- Defined in:
- lib/hospodar/builder/strategies/enumerate.rb
Overview
Does final steps after completing building process for nested structures
Instance Attribute Summary collapse
-
#delegate ⇒ Object
readonly
Returns the value of attribute delegate.
Attributes inherited from Execute
Instance Method Summary collapse
-
#initialize(strategy, target, factory, delegate) ⇒ Enumerate
constructor
A new instance of Enumerate.
Methods inherited from Execute
Constructor Details
#initialize(strategy, target, factory, delegate) ⇒ Enumerate
10 11 12 13 |
# File 'lib/hospodar/builder/strategies/enumerate.rb', line 10 def initialize(strategy, target, factory, delegate) super(strategy, target, factory) @delegate = delegate end |
Instance Attribute Details
#delegate ⇒ Object (readonly)
Returns the value of attribute delegate.
8 9 10 |
# File 'lib/hospodar/builder/strategies/enumerate.rb', line 8 def delegate @delegate end |