From 3a2bad4a7eee76264dbce9d1f739527be16246ec Mon Sep 17 00:00:00 2001 From: mneumann Date: Fri, 24 Jun 2005 20:27:43 +0000 Subject: * lib/xmlrpc/*, test/xmlrpc/*: backported changes from HEAD into 1.8 git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/xmlrpc/datetime.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/xmlrpc/datetime.rb') diff --git a/lib/xmlrpc/datetime.rb b/lib/xmlrpc/datetime.rb index e3bc6943f..298263fe8 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 -- cgit