File: page.rb [mechanize-2.7.2 Documentation]

Last Modified
  2014-03-27 02:38:46 +0000
Requires
  - mechanize/headers
  - mechanize/page/image
  - mechanize/page/label
  - mechanize/page/link
  - mechanize/page/base
  - mechanize/page/frame
  - mechanize/page/meta_refresh

## Description

This class encapsulates an HTML page. If Mechanize finds a content type of 'text/html', this class will be instantiated and returned.

Example:

    require 'mechanize'

    agent = Mechanize.new
    agent.get('http://google.com/').class # => Mechanize::Page