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



188
189
190
# File 'lib/sportdb/parser/racc_tree.rb', line 188

def goals
  @goals
end

Instance Method Details

#pretty_print(printer) ⇒ Object



189
190
191
192
# File 'lib/sportdb/parser/racc_tree.rb', line 189

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