Class: KeywordAST

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

Overview

The node to represent special Mediawiki keywords, such as __TOC__. The text attribute contains the entire string inbetween ‘__’ and ‘__’.

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

#textObject

Returns the value of attribute text.



132
133
134
# File 'lib/mediacloth/mediawikiast.rb', line 132

def text
  @text
end