module Rake

def self.undo(*names)

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

actions.
libraries define the same task and you only want one of the
Removes the last action added to a task. Use this when two
#
def self.undo(*names)
  names.each do |name|
    all_tasks[name].actions.delete_at(-1)
  end
end