define_task (Rake::TaskManager)

          # File lib/rake.rb, line 1425
    1425:     def define_task(task_class, args, &block)
    1426:       task_name, deps = resolve_args(args)
    1427:       task_name = task_class.scope_name(@scope, task_name)
    1428:       deps = [deps] unless deps.respond_to?(:to_ary)
    1429:       deps = deps.collect {|d| d.to_s }
    1430:       task = intern(task_class, task_name)
    1431:       task.application = self
    1432:       task.add_comment(@last_comment)
    1433:       @last_comment = nil
    1434:       task.enhance(deps, &block)
    1435:       task
    1436:     end