Class: TurnKit::ToolContext

Inherits:
Object
  • Object
show all
Defined in:
lib/turnkit/turn.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(turn:, execution:) ⇒ ToolContext

Returns a new instance of ToolContext.



142
143
144
145
# File 'lib/turnkit/turn.rb', line 142

def initialize(turn:, execution:)
  @turn = turn
  @execution = execution
end

Instance Attribute Details

#executionObject (readonly)

Returns the value of attribute execution.



140
141
142
# File 'lib/turnkit/turn.rb', line 140

def execution
  @execution
end

#turnObject (readonly)

Returns the value of attribute turn.



140
141
142
# File 'lib/turnkit/turn.rb', line 140

def turn
  @turn
end