Parent

Methods

Mechanize::FileConnection

Wrapper to make a file URI work like an http URI

Public Class Methods

new(*a) click to toggle source
# File lib/mechanize/file_connection.rb, line 8
def self.new *a
  @instance ||= super
end

Public Instance Methods

request(uri, request) click to toggle source
# File lib/mechanize/file_connection.rb, line 12
def request uri, request
  yield Mechanize::FileResponse.new Mechanize::Util.uri_unescape uri.path
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.