vendor/bundle/ruby/1.9.1/gems/thor-0.14.6/lib/thor.rb
# Defines the usage and the description of the next task.
#
# ==== Parameters
# usage<String>
# description<String>
# options<String>
#
Defines the usage and the description of the next task.
Parameters
usage
description
options
Defines the usage and the description of the next task . Parameters usage description options
def desc(usage, description, options={})
      if options[:for]
        task = find_and_refresh_task(options[:for])
        task.usage = usage             if usage
        task.description = description if description
      else
        @usage, @desc, @hide = usage, description, options[:hide] || false
      end
    end
def desc ( usage , description , options = { } ) if options [ :for ] task = find_and_refresh_task ( options [ :for ] ) task . usage = usage if usage task . description = description if description else @usage , @desc , @hide = usage , description , options [ :hide ] || false end end
Defines the usage and the description of the next task.
Defines the usage and the description of the next task .
usage
<not_specific>
description
<not_specific>
options
<not_specific>