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

#lineupObject

Returns the value of attribute lineup

Returns:

  • (Object)

    the current value of lineup



8
9
10
# File 'lib/sportdb/parser/racc_tree.rb', line 8

def lineup
  @lineup
end

#teamObject

Returns the value of attribute team

Returns:

  • (Object)

    the current value of team



8
9
10
# File 'lib/sportdb/parser/racc_tree.rb', line 8

def team
  @team
end

Instance Method Details

#pretty_print(printer) ⇒ Object



9
10
11
12
13
14
# File 'lib/sportdb/parser/racc_tree.rb', line 9

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