Class: RaccMatchParser::RoundHeader

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#namesObject

Returns the value of attribute names

Returns:

  • (Object)

    the current value of names



88
89
90
# File 'lib/sportdb/parser/racc_tree.rb', line 88

def names
  @names
end

Instance Method Details

#pretty_print(printer) ⇒ Object



89
90
91
92
# File 'lib/sportdb/parser/racc_tree.rb', line 89

def pretty_print( printer )
  printer.text( "<RoundHeader " )
  printer.text( "#{self.names.join(', ')}>" )
end