Class: RaccMatchParser::GoalLineCompat

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#goalsObject

Returns the value of attribute goals

Returns:

  • (Object)

    the current value of goals



398
399
400
# File 'lib/sportdb/parser/racc_tree.rb', line 398

def goals
  @goals
end

Instance Method Details

#pretty_print(printer) ⇒ Object



399
400
401
402
# File 'lib/sportdb/parser/racc_tree.rb', line 399

def pretty_print( printer )
  printer.text( "<GoalLineCompat " )
  printer.text( "goals=" + self.goals.pretty_inspect + ">" )
end