Exception: RuboCop::Plugin::NotSupportedError Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::RuboCop::Error ,
StandardError
|
|
Instance Chain:
self,
::RuboCop::Error ,
StandardError
|
|
Inherits: |
RuboCop::Error
|
Defined in: | lib/rubocop/plugin/not_supported_error.rb |
Overview
An exception raised when a plugin is not supported by the RuboCop engine.
Class Method Summary
- .new(unsupported_plugins) ⇒ NotSupportedError constructor Internal use only
Instance Method Summary
- #message Internal use only
Instance Method Details
#message
[ GitHub ]# File 'lib/rubocop/plugin/not_supported_error.rb', line 14
def if @unsupported_plugins.one? about = @unsupported_plugins.first.about "#{about.name} #{about.version} is not a plugin supported by RuboCop engine." else unsupported_plugin_names = @unsupported_plugins.map do |plugin| "#{plugin.about.name} #{plugin.about.version}" end.join(', ') "#{unsupported_plugin_names} are not plugins supported by RuboCop engine." end end