Method: Rake::Task#clear

Defined in:
lib/rake/task.rb

#clearObject

Clear the existing prerequisites, actions, comments, and arguments of a rake task.



153
154
155
156
157
158
159
# File 'lib/rake/task.rb', line 153

def clear
  clear_prerequisites
  clear_actions
  clear_comments
  clear_args
  self
end