Method: Thor::Base::ClassMethods#tasks
- Defined in:
- lib/wip/vendor/thor/base.rb
#tasks ⇒ Object
Returns the tasks for this Thor class.
Returns
- OrderedHash
-
An ordered hash with tasks names as keys and Thor::Task objects as values.
284 285 286 |
# File 'lib/wip/vendor/thor/base.rb', line 284 def tasks @tasks ||= Thor::CoreExt::OrderedHash.new end |