class 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
  NoKwargSpellChecker.new(error.all_commands)
end