* lib/rake.rb (Rake::FileList::ARRAY_METHODS): fix test failure by <=>
definition at Kernel. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fcd2fb4e87
commit
666409ba50
@ -1,3 +1,8 @@
|
|||||||
|
Sun Feb 7 12:53:12 2010 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* lib/rake.rb (Rake::FileList::ARRAY_METHODS): fix test failure by <=>
|
||||||
|
definition at Kernel.
|
||||||
|
|
||||||
Sun Feb 7 03:01:46 2010 Tanaka Akira <akr@fsij.org>
|
Sun Feb 7 03:01:46 2010 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* math.c (math_lgamma): initialize sign because
|
* math.c (math_lgamma): initialize sign because
|
||||||
|
@ -1237,7 +1237,7 @@ module Rake
|
|||||||
|
|
||||||
# List of array methods (that are not in +Object+) that need to be
|
# List of array methods (that are not in +Object+) that need to be
|
||||||
# delegated.
|
# delegated.
|
||||||
ARRAY_METHODS = (Array.instance_methods - Object.instance_methods).map { |n| n.to_s }
|
ARRAY_METHODS = (Array.instance_methods - (Object.instance_methods - [:<=>])).map { |n| n.to_s }
|
||||||
|
|
||||||
# List of additional methods that must be delegated.
|
# List of additional methods that must be delegated.
|
||||||
MUST_DEFINE = %w[to_a inspect]
|
MUST_DEFINE = %w[to_a inspect]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user