Class: RaccMatchParser::Heading2
- Inherits:
-
Struct
- Object
- Struct
- RaccMatchParser::Heading2
- Defined in:
- lib/sportdb/parser/racc_tree.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text
261 262 263 |
# File 'lib/sportdb/parser/racc_tree.rb', line 261 def text @text end |
Instance Method Details
#pretty_print(printer) ⇒ Object
262 263 264 |
# File 'lib/sportdb/parser/racc_tree.rb', line 262 def pretty_print( printer ) printer.text( "<Heading2 #{self.text}>" ) end |