Method: Addressable::URI#hash
- Defined in:
- lib/vendor/addressable/lib/addressable/uri.rb
#hash ⇒ Integer
A hash value that will make a URI equivalent to its normalized form.
1846 1847 1848 |
# File 'lib/vendor/addressable/lib/addressable/uri.rb', line 1846 def hash return @hash ||= (self.to_s.hash * -1) end |