[Bug #861] Rake::MultiTask#invoke_prerequisites should be private

Bug #861: Rake::MultiTask#invoke_prerequisites should be private
http://redmine.ruby-lang.org/issues/show/861

e$B5/I<<Te(B: okkez _
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$B%+%F%4%je(B: lib

Rake::Task#invoke_prerequisites e$B$,e(B private e$B$J$N$Ge(B
Rake::MultiTask#invoke_prerequisites e$B$be(B private
e$B$JJ}$,$$$$$H;W$$$^$7$?!#e(B

Index: rake.rb

— rake.rb (revision 20655)
+++ rake.rb (working copy)
@@ -802,6 +802,7 @@

parallel using Ruby threads.

class MultiTask < Task

  • private
    def invoke_prerequisites(args, invocation_chain)
    threads = @prerequisites.collect { |p|
    Thread.new(p) { |r| application[r].invoke_with_call_chain(args,
    invocation_chain) }

e$B!!$5$5$@$G$9!%e(B

e$B!!:n<T$Oe(B Jim W. e$B$J$N$G!$$A$g$C$H1Q8l$K$7$Fe(B ruby-core
e$B$K?6$C$?J}$,$he(B
e$B$$$+$H;W$$$^$9$,!$$$$+$,$G$7$g$&$+!%e(B

e$B%A%1%C%He(B #861 e$B$,99?7$5$l$^$7$?!#e(B (by Yukihiro M.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r20908.

http://redmine.ruby-lang.org/issues/show/861