Class: ResourceLinkAST
Overview
The node to represent a MediaWiki resource reference (embedded images, videos, etc.)
Instance Attribute Summary collapse
-
#locator ⇒ Object
The resource locator.
-
#prefix ⇒ Object
The resource prefix that indicates the type of resource (e.g. an image resource is prefixed by “Image”).
Attributes inherited from AST
#children, #contents, #index, #length, #parent
Method Summary
Methods inherited from AST
Constructor Details
This class inherits a constructor from AST
Instance Attribute Details
#locator ⇒ Object
The resource locator
71 72 73 |
# File 'lib/mediacloth/mediawikiast.rb', line 71 def locator @locator end |
#prefix ⇒ Object
The resource prefix that indicates the type of resource (e.g. an image resource is prefixed by “Image”)
69 70 71 |
# File 'lib/mediacloth/mediawikiast.rb', line 69 def prefix @prefix end |