Class: Tobias::Evaluations::Result
- Inherits:
-
Struct
- Object
- Struct
- Tobias::Evaluations::Result
- Defined in:
- lib/tobias/evaluations/base.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
17 18 19 |
# File 'lib/tobias/evaluations/base.rb', line 17 def name @name end |
#value ⇒ Object
Returns the value of attribute value
17 18 19 |
# File 'lib/tobias/evaluations/base.rb', line 17 def value @value end |
Instance Method Details
#<=>(other) ⇒ Object
18 19 20 |
# File 'lib/tobias/evaluations/base.rb', line 18 def <=>(other) value <=> other.value end |