summaryrefslogtreecommitdiff
path: root/lib/xmlrpc/datetime.rb
diff options
context:
space:
mode:
authormneumann <mneumann@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-24 20:27:43 +0000
committermneumann <mneumann@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-24 20:27:43 +0000
commit686c038347b41761032c728ca5babc18a35ad142 (patch)
tree3b53de37a575c315b6daebd746ee91461dbc0833 /lib/xmlrpc/datetime.rb
parent1ee06ebecf3b3b96de788c8dedd3b0de3cb0be18 (diff)
* lib/xmlrpc/*, test/xmlrpc/*: backported changes from HEAD into 1.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/xmlrpc/datetime.rb')
-rw-r--r--lib/xmlrpc/datetime.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/xmlrpc/datetime.rb b/lib/xmlrpc/datetime.rb
index e3bc6943f0..298263fe8a 100644
--- a/lib/xmlrpc/datetime.rb
+++ b/lib/xmlrpc/datetime.rb
@@ -126,6 +126,10 @@ class DateTime
[@year, @month, @day, @hour, @min, @sec]
end
+ def ==(o)
+ Array(self) == Array(o)
+ end
+
end