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



155
156
157
# File 'lib/sportdb/parser.rb', line 155

def lineup
  @lineup
end

#teamObject

Returns the value of attribute team

Returns:

  • (Object)

    the current value of team



155
156
157
# File 'lib/sportdb/parser.rb', line 155

def team
  @team
end

Instance Method Details

#pretty_print(printer) ⇒ Object



156
157
158
159
160
161
# File 'lib/sportdb/parser.rb', line 156

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