Class: Fbtxt::Parser::MatchLineBye
- Defined in:
- lib/fbtxt/parser/parse_tree-match.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
6 7 8 |
# File 'lib/fbtxt/parser/parse_tree-match.rb', line 6 def note @note end |
#team ⇒ Object
Returns the value of attribute team
6 7 8 |
# File 'lib/fbtxt/parser/parse_tree-match.rb', line 6 def team @team end |
Instance Method Details
#pretty_print(q) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/fbtxt/parser/parse_tree-match.rb', line 7 def pretty_print( q ) q.group( 4, '<MatchLineBye ', '>') do ## group( indent, open, close) q.text( "#{team} bye") if note q.text( " note=" ) q.pp( note ) end end end |