method

define_task

v2_2_9 - Show latest stable - Class: Rake::Task
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.