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



164
165
166
# File 'lib/sportdb/parser.rb', line 164

def lineup
  @lineup
end

#teamObject

Returns the value of attribute team

Returns:

  • (Object)

    the current value of team



164
165
166
# File 'lib/sportdb/parser.rb', line 164

def team
  @team
end

Instance Method Details

#pretty_print(printer) ⇒ Object



165
166
167
168
169
170
# File 'lib/sportdb/parser.rb', line 165

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