Class: RaccMatchParser::Heading3

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

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



267
268
269
# File 'lib/sportdb/parser/racc_tree.rb', line 267

def text
  @text
end

Instance Method Details

#pretty_print(printer) ⇒ Object



268
269
270
# File 'lib/sportdb/parser/racc_tree.rb', line 268

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