clear()
Clear the task list. This cause rake to immediately forget all the tasks that have been assigned. (Normally used in the unit tests.)
# File lib/rake/task.rb, line 339 def clear Rake.application.clear end