Created
February 9, 2015 15:43
-
-
Save mashiro/2a900f86570b81a3804d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'uri' | |
require 'addressable/uri' | |
module URI | |
class << self | |
def parse(*args) | |
Addressable::URI.parse *args | |
end | |
def escape(*args) | |
Addressable::URI.escape *args | |
end | |
def unescape(*args) | |
Addressable::URI.unescape *args | |
end | |
end | |
end | |
class Addressable::URI | |
def find_proxy | |
nil | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment