Class: Rake::Task

Inherits:
Object
  • Object
show all
Defined in:
lib/rake-pipeline.rb

Overview

Override Rake::Task to support recursively re-enabling a task and its dependencies.

Instance Method Summary collapse

Instance Method Details

#recursively_reenable(app) ⇒ void

This method returns an undefined value.

Parameters:

  • app (Rake::Application)

    a Rake Application



24
25
26
27
28
29
30
# File 'lib/rake-pipeline.rb', line 24

def recursively_reenable(app)
  reenable

  prerequisites.each do |dep|
    app[dep].recursively_reenable(app)
  end
end