Class: RaccMatchParser::GroupHeader

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



171
172
173
# File 'lib/sportdb/parser.rb', line 171

def name
  @name
end

Instance Method Details

#pretty_print(printer) ⇒ Object



172
173
174
175
# File 'lib/sportdb/parser.rb', line 172

def pretty_print( printer )
  printer.text( "<GroupHeader " )
  printer.text( "#{self.name}>" )
end