vendor/bundle/ruby/1.9.1/gems/thor-0.14.6/lib/thor.rb
# Returns tasks ready to be printed.
Returns tasks ready to be printed.
Returns tasks ready to be printed .
def printable_tasks(all = true, subcommand = false)
      (all ? all_tasks : tasks).map do |_, task|
        next if task.hidden?
        item = []
        item << banner(task, false, subcommand)
        item << (task.description ? "# #{task.description.gsub(/\s+/m,' ')}" : "")
        item
      end.compact
    end
def printable_tasks ( all = true , subcommand = false ) ( all ? all_tasks : tasks ) . map do | _ , task | next if task . hidden? item = [ ] item << banner ( task , false , subcommand ) item << ( task . description ? "# #{task.description.gsub(/\s+/m,' ')}" : "" ) item end . compact end
Returns tasks ready to be printed.
Returns tasks ready to be printed .
all
<not_specific>
subcommand
<not_specific>