lib/rubocop/cop/mixin/safe_mode.rb in rubocop-0.74.0 vs lib/rubocop/cop/mixin/safe_mode.rb in rubocop-0.75.0
- old
+ new
@@ -1,9 +1,11 @@
# frozen_string_literal: true
module RuboCop
module Cop
# Common functionality for Rails safe mode.
+ #
+ # This module can be removed from RuboCop 0.76.
module SafeMode
private
def rails_safe_mode?
safe_mode? || rails?