Class: HMachine::POSH::Anchor

Inherits:
Base
  • Object
show all
Defined in:
lib/hmachine/posh/anchor.rb

Constant Summary

Constants included from HMachine

HMachine::PRODID, VERSION

Instance Attribute Summary

Attributes inherited from Base

#node, #parent, #source

Instance Method Summary collapse

Methods inherited from 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



34
35
36
# File 'lib/hmachine/posh/anchor.rb', line 34

def to_s
  text
end