Object
# File bundler/vendor/thor/lib/thor/error.rb, line 31 def initialize(error) @error = error end
# File bundler/vendor/thor/lib/thor/error.rb, line 35 def corrections @corrections ||= spell_checker.correct(error.command).map(&:inspect) end
# File bundler/vendor/thor/lib/thor/error.rb, line 39 def spell_checker NoKwargSpellChecker.new(error.all_commands) end
This page was generated for Ruby 2.7.1
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.42.0.