This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
define_task(*args, &block)
public
Define a task given args and an option block. If a rule with the
given name already exists, the
prerequisites and actions are added to the existing task. Returns the
defined task.
# File lib/rake/task.rb, line 364
def define_task(*args, &block)
Rake.application.define_task(self, *args, &block)
end