Exception: Bundler::Thor::UnknownArgumentError
Relationships & Source Files | |
Namespace Children | |
Classes:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Error ,
StandardError
|
|
Instance Chain:
self,
Bundler::Thor::UnknownArgumentError.if defined?(DidYouMean::SpellChecker) && defined?(DidYouMean::Correctable) # rubocop:disable Naming/ConstantName
Moduleif defined?(DidYouMean::SpellChecker) && defined?(DidYouMean::Correctable) # rubocop:disable Naming/ConstantName
Module.new do
def to_s
super + DidYouMean.formatter.message_for(corrections)
end
def corrections
@corrections ||= self.class.const_get(:SpellChecker).new(self).corrections
end
end
end,
Bundler::Thor::UnknownArgumentError.if defined?(DidYouMean::SpellChecker) && defined?(DidYouMean::Correctable) # rubocop:disable Naming/ConstantName
Moduleif defined?(DidYouMean::SpellChecker) && defined?(DidYouMean::Correctable) # rubocop:disable Naming/ConstantName
Module.new do
def to_s
super + DidYouMean.formatter.message_for(corrections)
end
def corrections
@corrections ||= self.class.const_get(:SpellChecker).new(self).corrections
end
end
end,
Error ,
StandardError
|
|
Inherits: |
Bundler::Thor::Error
|
Defined in: | lib/bundler/vendor/thor/lib/thor/error.rb |
Class Method Summary
- .new(switches, unknown) ⇒ UnknownArgumentError constructor
Instance Attribute Summary
Constructor Details
.new(switches, unknown) ⇒ UnknownArgumentError
Instance Attribute Details
#switches (readonly)
[ GitHub ]# File 'lib/bundler/vendor/thor/lib/thor/error.rb', line 83
attr_reader :switches, :unknown
#unknown (readonly)
[ GitHub ]# File 'lib/bundler/vendor/thor/lib/thor/error.rb', line 83
attr_reader :switches, :unknown