Class: SectionAST

Inherits:
AST
  • Object
show all
Defined in:
lib/mediacloth/mediawikiast.rb

Overview

The node to represent a section

Instance Attribute Summary collapse

Attributes inherited from AST

#children, #contents, #index, #length, #parent

Method Summary

Methods inherited from AST

#initialize

Constructor Details

This class inherits a constructor from AST

Instance Attribute Details

#levelObject

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