method

new

ruby latest stable - Class: Rake::Task

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.

new(task_name, app)
public

Create a task named task_name with no actions or prerequisites. Use enhance to add actions and prerequisites.