Class: TurnKit::ToolContext
- Inherits:
-
Object
- Object
- TurnKit::ToolContext
- Defined in:
- lib/turnkit/turn.rb
Instance Attribute Summary collapse
-
#execution ⇒ Object
readonly
Returns the value of attribute execution.
-
#turn ⇒ Object
readonly
Returns the value of attribute turn.
Instance Method Summary collapse
-
#initialize(turn:, execution:) ⇒ ToolContext
constructor
A new instance of ToolContext.
Constructor Details
#initialize(turn:, execution:) ⇒ ToolContext
Returns a new instance of ToolContext.
137 138 139 140 |
# File 'lib/turnkit/turn.rb', line 137 def initialize(turn:, execution:) @turn = turn @execution = execution end |
Instance Attribute Details
#execution ⇒ Object (readonly)
Returns the value of attribute execution.
135 136 137 |
# File 'lib/turnkit/turn.rb', line 135 def execution @execution end |
#turn ⇒ Object (readonly)
Returns the value of attribute turn.
135 136 137 |
# File 'lib/turnkit/turn.rb', line 135 def turn @turn end |