class HTTP::URI

def eql?(other)

Returns:
  • (TrueClass, FalseClass) - are the URIs equivalent?

Parameters:
  • :other (Object) -- URI to compare this one with
def eql?(other)
  other.is_a?(URI) && to_s == other.to_s
end