Class: KeywordAST
Overview
The node to represent special Mediawiki keywords, such as __TOC__. The text attribute contains the entire string inbetween ‘__’ and ‘__’.
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Attributes inherited from AST
#children, #contents, #index, #length, #parent
Method Summary
Methods inherited from AST
Constructor Details
This class inherits a constructor from AST
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text.
132 133 134 |
# File 'lib/mediacloth/mediawikiast.rb', line 132 def text @text end |