Class: RaccMatchParser::RoundHeader

Inherits:
Struct
  • Object
show all
Defined in:
lib/sportdb/parser.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



229
230
231
# File 'lib/sportdb/parser.rb', line 229

def names
  @names
end

Instance Method Details

#pretty_print(printer) ⇒ Object



230
231
232
233
# File 'lib/sportdb/parser.rb', line 230

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