Class: RaccMatchParser::GroupHeader

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



154
155
156
# File 'lib/sportdb/parser/racc_tree.rb', line 154

def name
  @name
end

Instance Method Details

#pretty_print(printer) ⇒ Object



155
156
157
158
# File 'lib/sportdb/parser/racc_tree.rb', line 155

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