class Thor::UnknownArgumentError::SpellChecker

def corrections

def corrections
  @corrections ||=
    error.unknown.flat_map { |unknown| spell_checker.correct(unknown) }.uniq.map(&:inspect)
end

def initialize(error)

def initialize(error)
  @error = error
end

def spell_checker

def spell_checker
  @spell_checker ||= NoKwargSpellChecker.new(error.switches)
end