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