Class: LinkAST

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

Overview

The node to represent a simple Mediawiki link.

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

Returns the value of attribute link_type.



47
48
49
# File 'lib/mediacloth/mediawikiast.rb', line 47

def link_type
  @link_type
end

#urlObject

The link’s URL



46
47
48
# File 'lib/mediacloth/mediawikiast.rb', line 46

def url
  @url
end