diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-30 04:50:04 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-30 04:50:04 +0000 |
commit | cced56ef7c45d74fb1593e18f7137c144d8b8b44 (patch) | |
tree | df55d54a7eb8949709cdeaadaa52b98c60e117a1 /lib/xmlrpc | |
parent | 0711cf3cd8f890de7ba4cfb5936d6849a5f2d948 (diff) | |
download | ruby-cced56ef7c45d74fb1593e18f7137c144d8b8b44.tar.gz |
* misc/ruby-mode.el (ruby-expr-beg): support $! at the end of
expression. [ruby-dev:27868]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9634 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 298263fe8a..f66ef8963a 100644 --- a/lib/xmlrpc/datetime.rb +++ b/lib/xmlrpc/datetime.rb @@ -127,7 +127,7 @@ class DateTime end def ==(o) - Array(self) == Array(o) + self.to_a == Array(o) rescue false end end |