Parent

Methods

Class Index [+]

Quicksearch

Mechanize::RedirectLimitReachedError

Thrown when too many redirects are sent

Attributes

page[R]
response_code[R]
redirects[R]

Public Class Methods

new(page, redirects) click to toggle source
   # File lib/mechanize/redirect_limit_reached_error.rb, line 5
5:     def initialize(page, redirects)
6:       @page           = page
7:       @redirects      = redirects
8:       @response_code  = page.code
9:     end

Public Instance Methods

inspect() click to toggle source
Alias for: to_s
to_s() click to toggle source
    # File lib/mechanize/redirect_limit_reached_error.rb, line 11
11:     def to_s
12:       "Maximum redirect limit (#{redirects}) reached"
13:     end
Also aliased as: inspect

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.