Class: Xeno::AgentDefinition::InstructionContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/xeno/agent_definition.rb

Overview

What agent/instructions.rb's block receives.

Instance Attribute Summary collapse

Instance Attribute Details

#principalObject

Returns the value of attribute principal

Returns:

  • (Object)

    the current value of principal



17
18
19
# File 'lib/xeno/agent_definition.rb', line 17

def principal
  @principal
end

#sessionObject

Returns the value of attribute session

Returns:

  • (Object)

    the current value of session



17
18
19
# File 'lib/xeno/agent_definition.rb', line 17

def session
  @session
end