Parent

Methods

Mechanize::RedirectLimitReachedError

Thrown when too many redirects are sent

Attributes

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

Public Class Methods

new(page, redirects) click to toggle source
# File lib/mechanize/redirect_limit_reached_error.rb, line 5
def initialize(page, redirects)
  @page           = page
  @redirects      = redirects
  @response_code  = page.code
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
def to_s
  "Maximum redirect limit (#{redirects}) reached"
end
Also aliased as: inspect

[Validate]

Generated with the Darkfish Rdoc Generator 2.