Class: RaccMatchParser::MatchLineBye
- Inherits:
-
Struct
- Object
- Struct
- RaccMatchParser::MatchLineBye
- Defined in:
- lib/sportdb/parser/racc_tree.rb
Instance Attribute Summary collapse
-
#note ⇒ Object
Returns the value of attribute note.
-
#team ⇒ Object
Returns the value of attribute team.
Instance Method Summary collapse
Instance Attribute Details
#note ⇒ Object
Returns the value of attribute note
275 276 277 |
# File 'lib/sportdb/parser/racc_tree.rb', line 275 def note @note end |
#team ⇒ Object
Returns the value of attribute team
275 276 277 |
# File 'lib/sportdb/parser/racc_tree.rb', line 275 def team @team end |
Instance Method Details
#pretty_print(printer) ⇒ Object
276 277 278 279 280 281 |
# File 'lib/sportdb/parser/racc_tree.rb', line 276 def pretty_print( printer ) printer.text( "<MatchLineBye " ) printer.text( "#{self.team} bye") printer.text( " note=#{self.note.pretty_inspect}" ) if self.note printer.text( ">" ) end |