зеркало из https://github.com/github/ruby.git
* lib/xmlrpc/datetime.rb (XMLRPC::DateTime#==): should use Array()
instead of to_a. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e6a0f42c94
Коммит
1c453c0608
|
@ -5,6 +5,9 @@ Fri Nov 19 11:10:16 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
|||
|
||||
* test/testunit/collector/test_dir.rb: ditto.
|
||||
|
||||
* lib/xmlrpc/datetime.rb (XMLRPC::DateTime#==): should use Array()
|
||||
instead of to_a.
|
||||
|
||||
Fri Nov 19 10:32:36 2004 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* ext/readline/readline.c (readline_s_set_completion_append_character):
|
||||
|
|
|
@ -127,7 +127,7 @@ class DateTime
|
|||
end
|
||||
|
||||
def ==(o)
|
||||
self.to_a == o.to_a
|
||||
Array(self) == Array(o)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче