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 = Mechanize.new
agent.get('http://google.com/').class #=> Mechanize::Page
| pretty_inspect | -> | inspect |
| mech | [RW] |