Class: RaccMatchParser::PenaltiesLine
- Inherits:
-
Struct
- Object
- Struct
- RaccMatchParser::PenaltiesLine
- Defined in:
- lib/sportdb/parser/racc_tree.rb
Instance Attribute Summary collapse
-
#penalties ⇒ Object
Returns the value of attribute penalties.
Instance Method Summary collapse
Instance Attribute Details
#penalties ⇒ Object
Returns the value of attribute penalties
48 49 50 |
# File 'lib/sportdb/parser/racc_tree.rb', line 48 def penalties @penalties end |
Instance Method Details
#pretty_print(printer) ⇒ Object
49 50 51 52 53 |
# File 'lib/sportdb/parser/racc_tree.rb', line 49 def pretty_print( printer ) printer.text( "<PenaltiesLine " ) printer.text( self.penalties.pretty_inspect ) printer.text( ">" ) end |