class RubbyCop::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
new(name, origin, badges)
click to toggle source
Calls superclass method
# File lib/rubbycop/cop/registry.rb, line 11 def initialize(name, origin, badges) super( format( MSG, name: name, origin: origin, options: badges.to_a.join(' or ') ) ) end