class Addressable::URI

def ==(uri)

Returns:
  • (TrueClass, FalseClass) -

Parameters:
  • uri (Object) -- The URI to compare.
def ==(uri)
  return false unless uri.kind_of?(URI)
  return self.normalize.to_s == uri.normalize.to_s
end