Class: Xeno::ApprovalContext

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

Overview

What an approval lambda gets to look at.

Instance Attribute Summary collapse

Instance Attribute Details

#argumentsObject

Returns the value of attribute arguments

Returns:

  • (Object)

    the current value of arguments



3
4
5
# File 'lib/xeno/approval_context.rb', line 3

def arguments
  @arguments
end

#principalObject

Returns the value of attribute principal

Returns:

  • (Object)

    the current value of principal



3
4
5
# File 'lib/xeno/approval_context.rb', line 3

def principal
  @principal
end

#sessionObject

Returns the value of attribute session

Returns:

  • (Object)

    the current value of session



3
4
5
# File 'lib/xeno/approval_context.rb', line 3

def session
  @session
end

#tool_nameObject

Returns the value of attribute tool_name

Returns:

  • (Object)

    the current value of tool_name



3
4
5
# File 'lib/xeno/approval_context.rb', line 3

def tool_name
  @tool_name
end

#turnObject

Returns the value of attribute turn

Returns:

  • (Object)

    the current value of turn



3
4
5
# File 'lib/xeno/approval_context.rb', line 3

def turn
  @turn
end