class UnknownArgumentError::SpellChecker
Attributes
Public Class Methods
Public Instance Methods
Source
# File lib/thor/error.rb, line 84 def corrections @corrections ||= error.unknown.flat_map { |unknown| spell_checker.correct(unknown) }.uniq.map(&:inspect) end
Source
# File lib/thor/error.rb, line 89 def spell_checker @spell_checker ||= NoKwargSpellChecker.new(error.switches) end