# File lib/mechanize/robots_disallowed_error.rb, line 5 def initialize(url) if url.is_a?(URI) @url = url.to_s @uri = url else @url = url.to_s end end