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

- (void) recursively_reenable(app)

This method returns an undefined value.

Parameters:

  • app (Rake::Application)

    a Rake Application



17
18
19
20
21
22
23
# File 'lib/rake-pipeline.rb', line 17

def recursively_reenable(app)
  reenable

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