Method: URI::Generic#==

Defined in:
lib/extensions/uri/uri/generic.rb

#==(oth) ⇒ Object

Compares to URI’s



1057
1058
1059
1060
1061
1062
1063
# File 'lib/extensions/uri/uri/generic.rb', line 1057

def ==(oth)
  if self.class == oth.class
    self.normalize.component_ary == oth.normalize.component_ary
  else
    false
  end
end