Class: Roast::CogInputManager
- Inherits:
-
Object
- Object
- Roast::CogInputManager
- Defined in:
- lib/roast/cog_input_manager.rb
Overview
Context in which an individual cog block within the ‘execute` block of a workflow is evaluated
Defined Under Namespace
Classes: CogDoesNotExistError, CogFailedError, CogNotYetRunError, CogOutputAccessError, CogSkippedError, CogStoppedError
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
: CogInputContext.
Instance Method Summary collapse
-
#initialize(cog_registry, cogs, workflow_context) ⇒ CogInputManager
constructor
: (Cog::Registry, Cog::Store, WorkflowContext) -> void.
Constructor Details
#initialize(cog_registry, cogs, workflow_context) ⇒ CogInputManager
: (Cog::Registry, Cog::Store, WorkflowContext) -> void
20 21 22 23 24 25 26 27 |
# File 'lib/roast/cog_input_manager.rb', line 20 def initialize(cog_registry, cogs, workflow_context) @cog_registry = cog_registry @cogs = cogs @workflow_context = workflow_context @context = CogInputContext.new bind_registered_cogs bind_workflow_context end |
Instance Attribute Details
#context ⇒ Object (readonly)
: CogInputContext
30 31 32 |
# File 'lib/roast/cog_input_manager.rb', line 30 def context @context end |