Class: FormattedAST
Overview
The node to represent a simple or formatted text with more AST nodes inside.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#formatting ⇒ Object
Currently recognized formatting: :Bold, :Italic, :Link, :InternalLink, :HLine.
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
#formatting ⇒ Object
Currently recognized formatting: :Bold, :Italic, :Link, :InternalLink, :HLine
35 36 37 |
# File 'lib/mediacloth/mediawikiast.rb', line 35 def formatting @formatting end |