class Bundler::Thor::UndefinedCommandError::SpellChecker
def corrections
def corrections @corrections ||= spell_checker.correct(error.command).map(&:inspect) end
def initialize(error)
def initialize(error) @error = error end
def spell_checker
def spell_checker DidYouMean::SpellChecker.new(dictionary: error.all_commands) end