Attributes
Read
No documentation available
Class Methods
::
lib/bundler/vendor/thor/lib/thor/error.rb
View on GitHub
# File tmp/rubies/ruby-2.7.6/lib/bundler/vendor/thor/lib/thor/error.rb, line 31
def initialize(error)
@error = error
end
No documentation available
Instance Methods
lib/bundler/vendor/thor/lib/thor/error.rb
View on GitHub
# File tmp/rubies/ruby-2.7.6/lib/bundler/vendor/thor/lib/thor/error.rb, line 35
def corrections
@corrections ||= spell_checker.correct(error.command).map(&:inspect)
end
No documentation available
lib/bundler/vendor/thor/lib/thor/error.rb
View on GitHub
# File tmp/rubies/ruby-2.7.6/lib/bundler/vendor/thor/lib/thor/error.rb, line 39
def spell_checker
NoKwargSpellChecker.new(error.all_commands)
end
No documentation available