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



30
31
32
33
34
35
36
# File 'lib/rake-pipeline.rb', line 30

def recursively_reenable(app)
  reenable

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