# File bundler/vendor/thor/lib/thor/error.rb, line 72definitialize(error)
@error = errorend
Public Instance Methods
corrections()click to toggle source
# File bundler/vendor/thor/lib/thor/error.rb, line 76defcorrections@corrections||=error.unknown.flat_map { |unknown|spell_checker.correct(unknown) }.uniq.map(&:inspect)
end
spell_checker()click to toggle source
# File bundler/vendor/thor/lib/thor/error.rb, line 81defspell_checker@spell_checker||=NoKwargSpellChecker.new(error.switches)
end