lib/rubocop/cop/rspec/cop.rb in rubocop-rspec-1.9.1 vs lib/rubocop/cop/rspec/cop.rb in rubocop-rspec-1.10.0
- old
+ new
@@ -5,11 +5,10 @@
# Clone of the the normal RuboCop::Cop::Cop class so we can rewrite
# the inherited method without breaking functionality
class WorkaroundCop
# Overwrite the cop inherited method to be a noop. Our RSpec::Cop
# class will invoke the inherited hook instead
- def self.inherited(*)
- end
+ def self.inherited(*); end
# Special case `Module#<` so that the rspec support rubocop exports
# is compatible with our subclass
def self.<(other)
other.equal?(RuboCop::Cop::Cop) || super