class Thor
def retrieve_task_name(args) #:nodoc:
Retrieve the task name from given args.
def retrieve_task_name(args) #:nodoc: meth = args.first.to_s unless args.empty? if meth && (map[meth] || meth !~ /^\-/) args.shift else nil end end
def retrieve_task_name(args) #:nodoc: meth = args.first.to_s unless args.empty? if meth && (map[meth] || meth !~ /^\-/) args.shift else nil end end