Class: RaccMatchParser::PenaltiesLine

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#penaltiesObject

Returns the value of attribute penalties

Returns:

  • (Object)

    the current value of penalties



48
49
50
# File 'lib/sportdb/parser/racc_tree.rb', line 48

def penalties
  @penalties
end

Instance Method Details

#pretty_print(printer) ⇒ Object



49
50
51
52
53
# File 'lib/sportdb/parser/racc_tree.rb', line 49

def pretty_print( printer )
  printer.text( "<PenaltiesLine " )
  printer.text( self.penalties.pretty_inspect )
  printer.text( ">" )
end