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
Method Summary
Methods inherited from AST
Constructor Details
This class inherits a constructor from AST
Instance Attribute Details
#locator ⇒ Object
The resource locator
55 56 57 |
# File 'lib/mediacloth/mediawikiast.rb', line 55 def locator @locator end |
#prefix ⇒ Object
The resource prefix that indicates the type of resource (e.g. an image resource is prefixed by “Image”)
53 54 55 |
# File 'lib/mediacloth/mediawikiast.rb', line 53 def prefix @prefix end |