method

find_command_possibilities

v1_9_3_125 - Show latest stable - Class: Gem::CommandManager
find_command_possibilities(cmd_name)
public

No documentation available.

# File lib/rubygems/command_manager.rb, line 162
  def find_command_possibilities(cmd_name)
    len = cmd_name.length

    command_names.select { |n| cmd_name == n[0, len] }
  end