class RuboCop::Cop::WorkaroundCop84

Clone of the the normal RuboCop::Cop::Cop class so we can rewrite the inherited method without breaking functionality

Public Class Methods

<(other) click to toggle source

Special case `Module#<` so that the rspec support rubocop exports is compatible with our subclass

Calls superclass method
# File lib/rubocop/cop/eighty_four_codes/cop.rb, line 14
def self.<(other)
  other.equal?(RuboCop::Cop::Cop) || super
end
inherited(*) click to toggle source

Overwrite the cop inherited method to be a noop. Our RSpec::Cop class will invoke the inherited hook instead

# File lib/rubocop/cop/eighty_four_codes/cop.rb, line 10
def self.inherited(*); end