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 3.0.1
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.44.2.