Method: Bundler::Thor::Base::ClassMethods#all_commands
- Defined in:
- lib/bundler/vendor/thor/lib/thor/base.rb
#all_commands ⇒ Object Also known as: all_tasks
Returns the commands for this Bundler::Thor class and all subclasses.
Returns
- Hash
-
An ordered hash with commands names as keys and Bundler::Thor::Command objects as values.
482 483 484 485 |
# File 'lib/bundler/vendor/thor/lib/thor/base.rb', line 482 def all_commands @all_commands ||= from_superclass(:all_commands, Hash.new) @all_commands.merge!(commands) end |