Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/avoid_break_from_strong_memoize.rb')
-rw-r--r--rubocop/cop/avoid_break_from_strong_memoize.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/avoid_break_from_strong_memoize.rb b/rubocop/cop/avoid_break_from_strong_memoize.rb
index a3a8d0c3990..1a657a99966 100644
--- a/rubocop/cop/avoid_break_from_strong_memoize.rb
+++ b/rubocop/cop/avoid_break_from_strong_memoize.rb
@@ -20,7 +20,7 @@ module RuboCop
# do_an_heavy_calculation
# end
#
- class AvoidBreakFromStrongMemoize < RuboCop::Cop::Cop
+ class AvoidBreakFromStrongMemoize < RuboCop::Cop::Base
MSG = 'Do not use break inside strong_memoize, use next instead.'
def on_block(node)