Class: RHACK::HtmlPage

Inherits:
Page show all
Defined in:
lib/rhack/page.rb

Instance Attribute Summary

Attributes inherited from Page

#body, #curl, #curl_res, #data, #doc, #failed, #js, #loc, #res, #title

Instance Method Summary collapse

Methods inherited from Page

#at, #dict, #empty?, #eval_js, #eval_string, #expand_link, #failed?, #find, #flatten_dict, #form, #get_link, #get_links, #get_src, #get_srcs, #initialize, #inspect, #load_scripts, #map, #map_json, #process, #retry?, #size, #submit, #text, #texts, #to_html, #to_xml, #url, #utf!

Constructor Details

This class inherits a constructor from RHACK::Page

Instance Method Details

#parse(opts = {}) ⇒ Object

override this in a subclass MUST return self if successful MAY return false otherwise



544
545
546
547
# File 'lib/rhack/page.rb', line 544

def parse(opts={})
  parse_html opts
  self
end