Class: CategoryAST

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

Overview

The node to represent categories to which this page belongs

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

#locatorObject

Holds the name of the category



150
151
152
# File 'lib/mediacloth/mediawikiast.rb', line 150

def locator
  @locator
end

#sort_asObject

Holds the string the page is to be sorted as



152
153
154
# File 'lib/mediacloth/mediawikiast.rb', line 152

def sort_as
  @sort_as
end