Class: RaccMatchParser::GoalLine
- Inherits:
-
Struct
- Object
- Struct
- RaccMatchParser::GoalLine
- Defined in:
- lib/sportdb/parser/racc_tree.rb
Instance Attribute Summary collapse
-
#goals1 ⇒ Object
Returns the value of attribute goals1.
-
#goals2 ⇒ Object
Returns the value of attribute goals2.
Instance Method Summary collapse
Instance Attribute Details
#goals1 ⇒ Object
Returns the value of attribute goals1
227 228 229 |
# File 'lib/sportdb/parser/racc_tree.rb', line 227 def goals1 @goals1 end |
#goals2 ⇒ Object
Returns the value of attribute goals2
227 228 229 |
# File 'lib/sportdb/parser/racc_tree.rb', line 227 def goals2 @goals2 end |
Instance Method Details
#pretty_print(printer) ⇒ Object
228 229 230 231 232 233 |
# File 'lib/sportdb/parser/racc_tree.rb', line 228 def pretty_print( printer ) printer.text( "<GoalLine " ) printer.text( "goals1=" + self.goals1.pretty_inspect + "," ) printer.breakable printer.text( "goals2=" + self.goals2.pretty_inspect + ">" ) end |