Class: ElementAST

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

Overview

The node to represent an XHTML element and its contents

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

#attributesObject

Returns the value of attribute attributes.



126
127
128
# File 'lib/mediacloth/mediawikiast.rb', line 126

def attributes
  @attributes
end

#nameObject

Returns the value of attribute name.



126
127
128
# File 'lib/mediacloth/mediawikiast.rb', line 126

def name
  @name
end