Module: Linearly::Step::Dynamic
- Includes:
- Mixins::FlowBuilder
- Defined in:
- lib/linearly/step/dynamic.rb
Instance Method Summary collapse
-
#call(_state) ⇒ Statefully::State
User-defined logic for this
Step
. -
#inputs ⇒ Hash<Symbol, Expectation>
Inputs for a step.
-
#outputs ⇒ Hash<Symbol, Expectation>
Outputs for a step.
Methods included from Mixins::FlowBuilder
Instance Method Details
#call(_state) ⇒ Statefully::State
User-defined logic for this Step
An invalid implementation is provided to ensure that a failure to override this method is not quietly caught as a StandardError.
45 46 47 |
# File 'lib/linearly/step/dynamic.rb', line 45 def call(_state) raise NotImplementedError end |
#inputs ⇒ Hash<Symbol, Expectation>
Inputs for a step
An invalid implementation is provided to ensure that a failure to override this method is not quietly caught as a StandardError.
16 17 18 |
# File 'lib/linearly/step/dynamic.rb', line 16 def inputs raise NotImplementedError end |
#outputs ⇒ Hash<Symbol, Expectation>
Outputs for a step
An invalid implementation is provided to ensure that a failure to override this method is not quietly caught as a StandardError.
30 31 32 |
# File 'lib/linearly/step/dynamic.rb', line 30 def outputs {} end |