class HTTP::URI

def ==(other)

Returns:
  • (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