Class: Gobstones::Runner::ProgramResult
- Inherits:
-
Object
- Object
- Gobstones::Runner::ProgramResult
- Defined in:
- lib/gobstones/runner/program_result.rb
Instance Attribute Summary collapse
-
#head ⇒ Object
readonly
Returns the value of attribute head.
-
#return_values ⇒ Object
readonly
Returns the value of attribute return_values.
Instance Method Summary collapse
-
#initialize(head, return_values) ⇒ ProgramResult
constructor
A new instance of ProgramResult.
Constructor Details
#initialize(head, return_values) ⇒ ProgramResult
Returns a new instance of ProgramResult.
6 7 8 9 |
# File 'lib/gobstones/runner/program_result.rb', line 6 def initialize(head, return_values) @head = head @return_values = return_values end |
Instance Attribute Details
#head ⇒ Object (readonly)
Returns the value of attribute head.
4 5 6 |
# File 'lib/gobstones/runner/program_result.rb', line 4 def head @head end |
#return_values ⇒ Object (readonly)
Returns the value of attribute return_values.
4 5 6 |
# File 'lib/gobstones/runner/program_result.rb', line 4 def return_values @return_values end |