Skip to content

Instantly share code, notes, and snippets.

@mashiro
Created February 9, 2015 15:43
Show Gist options
  • Save mashiro/2a900f86570b81a3804d to your computer and use it in GitHub Desktop.
Save mashiro/2a900f86570b81a3804d to your computer and use it in GitHub Desktop.
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