class RuboCop::Cop::AmbiguousCopName
Error
raised when an unqualified cop name is used that could refer to two or more cops under different departments
Constants
- MSG
Public Class Methods
Source
# File lib/rubocop/cop/registry.rb, line 11 def initialize(name, origin, badges) super( format(MSG, name: name, origin: origin, options: badges.to_a.join(' or ')) ) end
Calls superclass method