Class: RaccMatchParser::LineupLine

Inherits:
Struct
  • Object
show all
Defined in:
lib/sportdb/parser/racc_tree.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#coachObject

Returns the value of attribute coach

Returns:

  • (Object)

    the current value of coach



100
101
102
# File 'lib/sportdb/parser/racc_tree.rb', line 100

def coach
  @coach
end

#lineupObject

Returns the value of attribute lineup

Returns:

  • (Object)

    the current value of lineup



100
101
102
# File 'lib/sportdb/parser/racc_tree.rb', line 100

def lineup
  @lineup
end

#teamObject

Returns the value of attribute team

Returns:

  • (Object)

    the current value of 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