Class: URI::HTTP
- Inherits:
-
Object
- Object
- URI::HTTP
- Defined in:
- lib/monkey_patches/uri.rb
Overview
URI having the HTTP protocol
Instance Method Summary collapse
Instance Method Details
#canonicalize ⇒ Object
5 6 7 8 |
# File 'lib/monkey_patches/uri.rb', line 5 def canonicalize new_url = URLCanonicalize.canonicalize(to_s) ::URI.parse(new_url) end |