Class: SectionAST
Overview
The node to represent a section
Instance Attribute Summary collapse
-
#level ⇒ Object
The level of the section (1,2,3…) that would correspond to <h1>, <h2>, <h3>, etc.
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
#level ⇒ Object
The level of the section (1,2,3…) that would correspond to <h1>, <h2>, <h3>, etc.
116 117 118 |
# File 'lib/mediacloth/mediawikiast.rb', line 116 def level @level end |