Class: RaccMatchParser::GoalLineAlt

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

Overview

check - use a different name e.g. GoalLineScore or such - why? why not?

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



197
198
199
# File 'lib/sportdb/parser/racc_tree.rb', line 197

def goals
  @goals
end

Instance Method Details

#pretty_print(printer) ⇒ Object



198
199
200
201
# File 'lib/sportdb/parser/racc_tree.rb', line 198

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