Method: Rake::Task.clear
- Defined in:
- lib/rake/task.rb
.clear ⇒ Object
Clear the task list. This cause rake to immediately forget all the tasks that have been assigned. (Normally used in the unit tests.)
284 285 286 |
# File 'lib/rake/task.rb', line 284 def clear Rake.application.clear end |