Method: Bundler::Thor::Base::ClassMethods#commands
- Defined in:
- lib/bundler/vendor/thor/lib/thor/base.rb
#commands ⇒ Object Also known as: tasks
Returns the commands for this Bundler::Thor class.
Returns
- OrderedHash
-
An ordered hash with commands names as keys and Bundler::Thor::Command objects as values.
333 334 335 |
# File 'lib/bundler/vendor/thor/lib/thor/base.rb', line 333 def commands @commands ||= Bundler::Thor::CoreExt::OrderedHash.new end |