class Addressable::URI

def hash

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