Class: HMachine::Microformat::RelLicense

Inherits:
POSH::Anchor show all
Defined in:
lib/hmachine/microformat/rellicense.rb

Constant Summary collapse

FRIENDLY_NAME =
"rel-license"
WIKI_URL =
'http://microformats.org/wiki/rel-license'
XMDP =
'http://microformats.org/profile/rel-license'

Constants included from HMachine

PRODID, VERSION

Instance Attribute Summary

Attributes inherited from POSH::Base

#node, #parent, #source

Instance Method Summary collapse

Methods inherited from POSH::Base

#[], [], add_property, #each_pair, #empty?, extract, get_properties, has_many, has_many!, has_one, has_one!, #has_property?, inherited, #initialize, #inspect, many, name, one, parent, properties, #properties, property_of?, remove_nested, search, selector, #to_h, #to_html, validate

Methods included from HMachine

#extract, #extract_from, find, #find_in, #found_in?, get, get_document, get_url, map, normalize, #parse, #parse_first, #search, #valid?, #validate

Constructor Details

This class inherits a constructor from HMachine::POSH::Base

Instance Method Details

#to_sObject



14
15
16
# File 'lib/hmachine/microformat/rellicense.rb', line 14

def to_s
  license
end