This class encapsulates an HTML page. If Mechanize finds a content type of ‘text/html’, this class will be instantiated and returned.
require 'rubygems' require 'mechanize' agent = WWW::Mechanize.new agent.get('http://google.com/').class #=> WWW::Mechanize::Page
pretty_inspect | -> | inspect |
encoding | [RW] | |
mech | [RW] |