summaryrefslogtreecommitdiff
path: root/lib/xmlrpc/datetime.rb
diff options
context:
space:
mode:
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