Project

General

Profile

Actions

Bug #861

closed

Rake::MultiTask#invoke_prerequisites should be private

Added by okkez (okkez _) over 15 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
Backport:
[ruby-dev:37399]

Description

=begin
Rake::Task#invoke_prerequisites が private なので
Rake::MultiTask#invoke_prerequisites も private な方がいいと思いました。

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) }
    =end
Actions

Also available in: Atom PDF

Like0
Like0Like0