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



235
236
237
# File 'lib/sportdb/parser.rb', line 235

def names
  @names
end

Instance Method Details

#pretty_print(printer) ⇒ Object



236
237
238
239
# File 'lib/sportdb/parser.rb', line 236

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