Class: RaccMatchParser::RefereeLine

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

Overview

support multiple referees (incl. assistant refs etc.)

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#refereesObject

Returns the value of attribute referees

Returns:

  • (Object)

    the current value of referees



19
20
21
# File 'lib/sportdb/parser/racc_tree.rb', line 19

def referees
  @referees
end

Instance Method Details

#pretty_print(printer) ⇒ Object



20
21
22
23
24
# File 'lib/sportdb/parser/racc_tree.rb', line 20

def pretty_print( printer )
  printer.text( "<RefereeLine " )
  printer.text( self.referees.pretty_inspect )
  printer.text( ">" )
end