Class: TableCellAST

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

Overview

The node to represent a table

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.



91
92
93
# File 'lib/mediacloth/mediawikiast.rb', line 91

def attributes
  @attributes
end

#typeObject

the type of cell, :head or :body



90
91
92
# File 'lib/mediacloth/mediawikiast.rb', line 90

def type
  @type
end