1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/xmlrpc/datetime.rb (XMLRPC::DateTime#==): should use Array()

instead of to_a.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2004-11-19 02:26:23 +00:00
parent e6a0f42c94
commit 1c453c0608
2 changed files with 4 additions and 1 deletions

View file

@ -127,7 +127,7 @@ class DateTime
end
def ==(o)
self.to_a == o.to_a
Array(self) == Array(o)
end
end