Class: TemplateAST

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

Overview

The node to represent templates and pre-defined (or user-defined) variables, such as {Date}.

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

#template_nameObject

Returns the value of attribute template_name.



138
139
140
# File 'lib/mediacloth/mediawikiast.rb', line 138

def template_name
  @template_name
end