resolve_args (Rake::TaskManager)

          # File lib/rake.rb, line 1459
    1459:     def resolve_args(args)
    1460:       case args
    1461:       when Hash
    1462:         fail "Too Many Task Names: #{args.keys.join(' ')}" if args.size > 1
    1463:         fail "No Task Name Given" if args.size < 1
    1464:         task_name = args.keys[0]
    1465:         deps = args[task_name]
    1466:         deps = [deps] if (String===deps) || (Regexp===deps) || (Proc===deps)
    1467:       else
    1468:         task_name = args
    1469:         deps = []
    1470:       end
    1471:       [task_name, deps]
    1472:     end