Class: RaccMatchParser::LineupLine

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#lineupObject

Returns the value of attribute lineup

Returns:

  • (Object)

    the current value of lineup



149
150
151
# File 'lib/sportdb/parser.rb', line 149

def lineup
  @lineup
end

#teamObject

Returns the value of attribute team

Returns:

  • (Object)

    the current value of team



149
150
151
# File 'lib/sportdb/parser.rb', line 149

def team
  @team
end

Instance Method Details

#pretty_print(printer) ⇒ Object



150
151
152
153
154
155
# File 'lib/sportdb/parser.rb', line 150

def pretty_print( printer )
  printer.text( "<LineupLine " )
  printer.text( self.team )
  printer.text( " lineup=" + self.lineup.pretty_inspect )
  printer.text( ">" )
end