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



162
163
164
# File 'lib/sportdb/parser/racc_tree.rb', line 162

def goals
  @goals
end

Instance Method Details

#pretty_print(printer) ⇒ Object



163
164
165
166
# File 'lib/sportdb/parser/racc_tree.rb', line 163

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