Class: RaccMatchParser::LineupLine
- Inherits:
-
Struct
- Object
- Struct
- RaccMatchParser::LineupLine
- Defined in:
- lib/sportdb/parser/racc_tree.rb
Instance Attribute Summary collapse
-
#coach ⇒ Object
Returns the value of attribute coach.
-
#lineup ⇒ Object
Returns the value of attribute lineup.
-
#team ⇒ Object
Returns the value of attribute team.
Instance Method Summary collapse
Instance Attribute Details
#coach ⇒ Object
Returns the value of attribute coach
100 101 102 |
# File 'lib/sportdb/parser/racc_tree.rb', line 100 def coach @coach end |
#lineup ⇒ Object
Returns the value of attribute lineup
100 101 102 |
# File 'lib/sportdb/parser/racc_tree.rb', line 100 def lineup @lineup end |
#team ⇒ Object
Returns the value of attribute team
100 101 102 |
# File 'lib/sportdb/parser/racc_tree.rb', line 100 def team @team end |
Instance Method Details
#pretty_print(printer) ⇒ Object
101 102 103 104 105 106 107 |
# File 'lib/sportdb/parser/racc_tree.rb', line 101 def pretty_print( printer ) printer.text( "<LineupLine " ) printer.text( self.team ) printer.text( " lineup=" + self.lineup.pretty_inspect ) printer.text( " coach=" + self.coach ) if self.coach printer.text( ">" ) end |