class Addressable::URI
def ==(uri)
-
(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
(TrueClass, FalseClass)
-
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