class UndefinedCommandError::SpellChecker
Attributes
Public Class Methods
Public Instance Methods
Source
# File lib/thor/error.rb, line 43 def corrections @corrections ||= spell_checker.correct(error.command).map(&:inspect) end
Source
# File lib/thor/error.rb, line 47 def spell_checker NoKwargSpellChecker.new(error.all_commands) end