Method: Bundler::Thor::UndefinedCommandError::SpellChecker#corrections

Defined in:
lib/bundler/vendor/thor/lib/thor/error.rb

#correctionsObject



35
36
37
# File 'lib/bundler/vendor/thor/lib/thor/error.rb', line 35

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