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



401
402
403
# File 'lib/sportdb/parser/racc_tree.rb', line 401

def goals
  @goals
end

Instance Method Details

#pretty_print(printer) ⇒ Object



402
403
404
405
# File 'lib/sportdb/parser/racc_tree.rb', line 402

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