class Addressable::URI

def hash

Returns:
  • (Integer) - A hash of the URI.
def hash
  @hash ||= self.to_s.hash * -1
end