Method: Bundler::Plugin::Index#plugin_commands
- Defined in:
- lib/bundler/plugin/index.rb
#plugin_commands(plugin) ⇒ Object
126 127 128 |
# File 'lib/bundler/plugin/index.rb', line 126 def plugin_commands(plugin) @commands.find_all {|_, n| n == plugin }.map(&:first) end |