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



178
179
180
# File 'lib/sportdb/parser.rb', line 178

def names
  @names
end

Instance Method Details

#pretty_print(printer) ⇒ Object



179
180
181
182
# File 'lib/sportdb/parser.rb', line 179

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