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



431
432
433
# File 'lib/sportdb/parser/racc_tree.rb', line 431

def goals
  @goals
end

Instance Method Details

#pretty_print(printer) ⇒ Object



432
433
434
435
# File 'lib/sportdb/parser/racc_tree.rb', line 432

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