vendor/bundle/ruby/1.9.1/gems/thor-0.14.6/lib/thor.rb
# Sets the default task when thor is executed without an explicit task to be called.
#
# ==== Parameters
# meth<Symbol>:: name of the defaut task
#
Sets the default task when thor is executed without an explicit task to be called.
Parameters
meth:: name of the defaut task
Sets the default task when thor is executed without an explicit task to be called . Parameters meth :: name of the defaut task
def default_task(meth=nil)
      case meth
        when :none
          @default_task = 'help'
        when nil
          @default_task ||= from_superclass(:default_task, 'help')
        else
          @default_task = meth.to_s
      end
    end
def default_task ( meth = nil ) case meth when :none @default_task = 'help' when nil @default_task ||= from_superclass ( :default_task , 'help' ) else @default_task = meth . to_s end end
Sets the default task when thor is executed without an explicit task to be called.
Sets the default task when thor is executed without an explicit task to be called .
meth
<not_specific>