Class: LangGraphRB::Runner::ExecutionFrame
- Inherits:
-
Object
- Object
- LangGraphRB::Runner::ExecutionFrame
- Defined in:
- lib/langgraph_rb/runner.rb
Overview
Execution frame for tracking active node executions
Instance Attribute Summary collapse
-
#node_name ⇒ Object
readonly
Returns the value of attribute node_name.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#step ⇒ Object
readonly
Returns the value of attribute step.
Instance Method Summary collapse
-
#initialize(node_name, state, step) ⇒ ExecutionFrame
constructor
A new instance of ExecutionFrame.
- #to_s ⇒ Object
Constructor Details
#initialize(node_name, state, step) ⇒ ExecutionFrame
Returns a new instance of ExecutionFrame.
426 427 428 429 430 |
# File 'lib/langgraph_rb/runner.rb', line 426 def initialize(node_name, state, step) @node_name = node_name.to_sym @state = state @step = step end |
Instance Attribute Details
#node_name ⇒ Object (readonly)
Returns the value of attribute node_name.
424 425 426 |
# File 'lib/langgraph_rb/runner.rb', line 424 def node_name @node_name end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
424 425 426 |
# File 'lib/langgraph_rb/runner.rb', line 424 def state @state end |
#step ⇒ Object (readonly)
Returns the value of attribute step.
424 425 426 |
# File 'lib/langgraph_rb/runner.rb', line 424 def step @step end |
Instance Method Details
#to_s ⇒ Object
432 433 434 |
# File 'lib/langgraph_rb/runner.rb', line 432 def to_s "#<ExecutionFrame node: #{@node_name}, step: #{@step}>" end |