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



126
127
128
# File 'lib/sportdb/parser/racc_tree.rb', line 126

def goals
  @goals
end

Instance Method Details

#pretty_print(printer) ⇒ Object



127
128
129
130
# File 'lib/sportdb/parser/racc_tree.rb', line 127

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