Class: RaccMatchParser::NoteLine

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



213
214
215
# File 'lib/sportdb/parser/racc_tree.rb', line 213

def text
  @text
end

Instance Method Details

#pretty_print(printer) ⇒ Object



214
215
216
# File 'lib/sportdb/parser/racc_tree.rb', line 214

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