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.2
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.