class Rake::Task

def initialize(task_name, app)

+enhance+ to add actions and prerequisites.
Create a task named +task_name+ with no actions or prerequisites. Use
def initialize(task_name, app)
  @name = task_name.to_s
  @prerequisites = []
  @actions = []
  @already_invoked = false
  @full_comment = nil
  @comment = nil
  @lock = Monitor.new
  @application = app
  @scope = app.current_scope
  @arg_names = nil
  @locations = []
end