--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: ca_file
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: cert
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: conditional_requests
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: cookie_jar
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: follow_meta_refresh
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: history
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: history_added
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The HTML parser to be used when parsing documents
  name: html_parser
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: html_parser
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: keep_alive
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: keep_alive_time
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: key
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: log
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: open_timeout
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: pass
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: pluggable_parser
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: read_timeout
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: redirect_ok
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: redirection_limit
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: A hash of custom request headers
  name: request_headers
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: scheme_handlers
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: user_agent
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: verify_callback
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: watch_for_set
  rw: RW
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::H 
  level: 1
  text: Synopsis
- !ruby/struct:SM::Flow::P 
  body: The Mechanize library is used for automating interaction with a website. It can follow links, and submit forms. Form fields can be populated and submitted. A history of URL's is maintained and can be queried.
- !ruby/struct:SM::Flow::H 
  level: 2
  text: Example
- !ruby/struct:SM::Flow::VERB 
  body: " require 'rubygems'\n require 'mechanize'\n require 'logger'\n\n agent = WWW::Mechanize.new { |a| a.log = Logger.new(&quot;mech.log&quot;) }\n agent.user_agent_alias = 'Mac Safari'\n page = agent.get(&quot;http://www.google.com/&quot;)\n search_form = page.form_with(:name =&gt; &quot;f&quot;)\n search_form.field_with(:name =&gt; &quot;q&quot;).value = &quot;Hello&quot;\n search_results = agent.submit(search_form)\n puts search_results.body\n"
constants: 
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The version of Mechanize you are using.
  name: VERSION
  value: "'0.9.3'"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: User Agent aliases
  name: AGENT_ALIASES
  value: "{       'Windows IE 6' => 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)',       'Windows IE 7' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)',       'Windows Mozilla' => 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6',       'Mac Safari' => 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418 (KHTML, like Gecko) Safari/417.9.3',       'Mac FireFox' => 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3',       'Mac Mozilla' => 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4a) Gecko/20030401',       'Linux Mozilla' => 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624',       'Linux Konqueror' => 'Mozilla/5.0 (compatible; Konqueror/3; Linux)',       'iPhone' => 'Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1C28 Safari/419.3',       'Mechanize' => \"WWW-Mechanize/#{VERSION} (http://rubyforge.org/projects/mechanize/)\""
full_name: WWW::Mechanize
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: auth
- !ruby/object:RI::MethodSummary 
  name: back
- !ruby/object:RI::MethodSummary 
  name: basic_auth
- !ruby/object:RI::MethodSummary 
  name: click
- !ruby/object:RI::MethodSummary 
  name: cookies
- !ruby/object:RI::MethodSummary 
  name: current_page
- !ruby/object:RI::MethodSummary 
  name: delete
- !ruby/object:RI::MethodSummary 
  name: get
- !ruby/object:RI::MethodSummary 
  name: get_file
- !ruby/object:RI::MethodSummary 
  name: head
- !ruby/object:RI::MethodSummary 
  name: log
- !ruby/object:RI::MethodSummary 
  name: log=
- !ruby/object:RI::MethodSummary 
  name: max_history
- !ruby/object:RI::MethodSummary 
  name: max_history=
- !ruby/object:RI::MethodSummary 
  name: page
- !ruby/object:RI::MethodSummary 
  name: post
- !ruby/object:RI::MethodSummary 
  name: post_connect_hooks
- !ruby/object:RI::MethodSummary 
  name: pre_connect_hooks
- !ruby/object:RI::MethodSummary 
  name: put
- !ruby/object:RI::MethodSummary 
  name: set_proxy
- !ruby/object:RI::MethodSummary 
  name: submit
- !ruby/object:RI::MethodSummary 
  name: transact
- !ruby/object:RI::MethodSummary 
  name: user_agent_alias=
- !ruby/object:RI::MethodSummary 
  name: visited?
- !ruby/object:RI::MethodSummary 
  name: visited_page
name: Mechanize
superclass: Object
