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