class Thor
def default_task(meth=nil)
meth
==== Parameters
Sets the default task when thor is executed without an explicit task to be called.
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