Class: RaccMatchParser::TableHeading

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

Overview

todo/check - rename TableHeading to TableHeader - why? why not?

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



227
228
229
# File 'lib/sportdb/parser/racc_tree.rb', line 227

def text
  @text
end

Instance Method Details

#pretty_print(printer) ⇒ Object



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

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