Module: Rake

Module | Rake
In: | lib/hoe/rake.rb

### Methods

all_tasks clear_tasks undo

### Classes and Modules

Module Rake::TaskManager
Class Rake::Task

### Public Class methods

all_tasks()

Simple shortcut for Rake.application.all_tasks

clear_tasks(*tasks)

Hooks into rake and allows us to clear out a task by name or regexp. Use this if you want to completely override a task instead of extend it.

undo(*names)

Removes the last action added to a task. Use this when two libraries define the same task and you only want one of the actions.

      require 'hoe'
      require 'tasks/rails'
      Rake.undo("test") # rolls out rails' test task

[Validate]