diff --git a/lib/rubocop/cop/lint/top_level_return_with_argument.rb b/lib/rubocop/cop/lint/top_level_return_with_argument.rb index 822956689b2..1c710b60f70 100644 --- a/lib/rubocop/cop/lint/top_level_return_with_argument.rb +++ b/lib/rubocop/cop/lint/top_level_return_with_argument.rb @@ -13,7 +13,7 @@ module Lint # return 1 # 1 is always ignored. # # @api private - class TopLevelReturnWithArgument < Cop + class TopLevelReturnWithArgument < Base # This cop works by validating the ancestors of the return node. A # top-level return node's ancestors should not be of block, def, or # defs type.