Class: Ibex::GrammarTests::Result
- Inherits:
-
Struct
- Object
- Struct
- Ibex::GrammarTests::Result
- Defined in:
- lib/ibex/grammar_tests.rb,
lib/ibex/grammar_tests.rb
Instance Attribute Summary collapse
-
#actual ⇒ Object
Returns the value of attribute actual.
-
#error_class ⇒ Object
Returns the value of attribute error_class.
-
#error_message ⇒ Object
Returns the value of attribute error_message.
-
#expectation ⇒ Object
Returns the value of attribute expectation.
-
#location ⇒ Object
Returns the value of attribute location.
-
#production_ids ⇒ Object
Returns the value of attribute production_ids.
Instance Method Summary collapse
Instance Attribute Details
#actual ⇒ Object
Returns the value of attribute actual
15 16 17 |
# File 'lib/ibex/grammar_tests.rb', line 15 def actual @actual end |
#error_class ⇒ Object
Returns the value of attribute error_class
15 16 17 |
# File 'lib/ibex/grammar_tests.rb', line 15 def error_class @error_class end |
#error_message ⇒ Object
Returns the value of attribute error_message
15 16 17 |
# File 'lib/ibex/grammar_tests.rb', line 15 def @error_message end |
#expectation ⇒ Object
Returns the value of attribute expectation
15 16 17 |
# File 'lib/ibex/grammar_tests.rb', line 15 def expectation @expectation end |
#location ⇒ Object
Returns the value of attribute location
15 16 17 |
# File 'lib/ibex/grammar_tests.rb', line 15 def location @location end |
#production_ids ⇒ Object
Returns the value of attribute production_ids
15 16 17 |
# File 'lib/ibex/grammar_tests.rb', line 15 def production_ids @production_ids end |
Instance Method Details
#passed? ⇒ Boolean
27 |
# File 'lib/ibex/grammar_tests.rb', line 27 def passed? = expectation == actual |