Method: Gem::UnknownCommandSpellChecker#corrections

Defined in:
lib/rubygems/unknown_command_spell_checker.rb

#correctionsObject



10
11
12
13
# File 'lib/rubygems/unknown_command_spell_checker.rb', line 10

def corrections
  @corrections ||=
    spell_checker.correct(error.unknown_command).map(&:inspect)
end