class HTTP::URI
def ==(other)
-
(TrueClass, FalseClass)
- are the URIs equivalent (after normalization)?
Parameters:
-
:other
(Object
) -- URI to compare this one with
def ==(other) other.is_a?(URI) && normalize.to_s == other.normalize.to_s end