-
Notifications
You must be signed in to change notification settings - Fork 0
a wrapper to open-uri that offers filename mapping, which is useful for test
License
maiha/open-uri-mapping
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
open-uri-mapping ================ a wrapper to open-uri that offers filename mapping, which is useful for test Usage ===== require 'rubygems' require 'open-uri-mapping' URI::Mapping.merge!( "http://merbi.st/plugins/" => "/tmp/plugins1.html" ) open("http://merbi.st/plugins/") # -> "Errno::ENOENT: No such file or directory - /tmp/plugins1.html" This error means that it opens file from not http but a specified local file. Copyright (c) 2009 maiha@wota.jp, released under the MIT license
About
a wrapper to open-uri that offers filename mapping, which is useful for test
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published