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