lib/rubocop/cop/mixin/dig_help.rb in rubocop-1.69.2 vs lib/rubocop/cop/mixin/dig_help.rb in rubocop-1.70.0
- old
+ new
@@ -18,10 +18,10 @@
PATTERN
private
def dig_chain_enabled?
- @config.for_cop('Style/DigChain')['Enabled']
+ @config.cop_enabled?('Style/DigChain')
end
end
end
end