Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
clear()
public
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