summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-19 21:42:04 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-19 21:42:04 +0000
commitf4b455e5fc59782a491b577f98c244f197e6da33 (patch)
treeedc3a332f149d0bcb92a9dfd9be5f62583f0a28b /lib
parent739eea71f782d7004f0386323fa4894e76b85b6e (diff)
merge revision(s) 26169:
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@27406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/uri/generic.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb
index d907e0b4b2..c855d60610 100644
--- a/lib/uri/generic.rb
+++ b/lib/uri/generic.rb
@@ -1054,6 +1054,7 @@ module URI
end
def eql?(oth)
+ self.class == oth.class &&
self.component_ary.eql?(oth.component_ary)
end