diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-19 02:26:23 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-19 02:26:23 +0000 |
commit | 0d7f3dd3fa0ab0bfeb74208da18379c82d370d62 (patch) | |
tree | ede068b5ee35e028db6285a313fe36957fd2aba2 /lib/xmlrpc | |
parent | 81ab96d12f5a0b35454597d0660602baba21063e (diff) | |
download | ruby-0d7f3dd3fa0ab0bfeb74208da18379c82d370d62.tar.gz ruby-0d7f3dd3fa0ab0bfeb74208da18379c82d370d62.tar.xz ruby-0d7f3dd3fa0ab0bfeb74208da18379c82d370d62.zip |
* lib/xmlrpc/datetime.rb (XMLRPC::DateTime#==): should use Array()
instead of to_a.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/xmlrpc')
-rw-r--r-- | lib/xmlrpc/datetime.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmlrpc/datetime.rb b/lib/xmlrpc/datetime.rb index 8ae6c7a56..298263fe8 100644 --- a/lib/xmlrpc/datetime.rb +++ b/lib/xmlrpc/datetime.rb @@ -127,7 +127,7 @@ class DateTime end def ==(o) - self.to_a == o.to_a + Array(self) == Array(o) end end |