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
242 243 244 |
# File 'lib/sportdb/parser/racc_tree.rb', line 242 def note @note end |
#team ⇒ Object
Returns the value of attribute team
242 243 244 |
# File 'lib/sportdb/parser/racc_tree.rb', line 242 def team @team end |
Instance Method Details
#pretty_print(printer) ⇒ Object
243 244 245 246 247 248 |
# File 'lib/sportdb/parser/racc_tree.rb', line 243 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 |