Class: Orchestra::Step::ObjectStep
- Inherits:
-
Orchestra::Step
- Object
- Orchestra::Step
- Orchestra::Step::ObjectStep
- Defined in:
- lib/orchestra/step.rb
Instance Attribute Summary collapse
-
#adapter ⇒ Object
readonly
Returns the value of attribute adapter.
Attributes inherited from Orchestra::Step
#collection, #dependencies, #provisions
Instance Method Summary collapse
- #build_context(input) ⇒ Object
-
#initialize(adapter, args = {}) ⇒ ObjectStep
constructor
A new instance of ObjectStep.
- #optional_dependencies ⇒ Object
Methods inherited from Orchestra::Step
#collection?, #execute, #process, #required_dependencies
Constructor Details
#initialize(adapter, args = {}) ⇒ ObjectStep
Returns a new instance of ObjectStep.
39 40 41 42 |
# File 'lib/orchestra/step.rb', line 39 def initialize adapter, args = {} @adapter = adapter super args end |
Instance Attribute Details
#adapter ⇒ Object (readonly)
Returns the value of attribute adapter.
37 38 39 |
# File 'lib/orchestra/step.rb', line 37 def adapter @adapter end |
Instance Method Details
#build_context(input) ⇒ Object
44 45 46 |
# File 'lib/orchestra/step.rb', line 44 def build_context input adapter.build_context input end |
#optional_dependencies ⇒ Object
48 49 50 |
# File 'lib/orchestra/step.rb', line 48 def optional_dependencies adapter.object_method.optional_dependencies end |