diff --git a/lib/mocha/mock.rb b/lib/mocha/mock.rb index b448cfe00..315749ef7 100644 --- a/lib/mocha/mock.rb +++ b/lib/mocha/mock.rb @@ -309,12 +309,10 @@ def all_expectations end # @private - # rubocop:disable Style/MethodMissingSuper - def method_missing(symbol, *arguments, &block) + def method_missing(symbol, *arguments, &block) # rubocop:disable Style/MethodMissingSuper handle_method_call(symbol, arguments, block) end ruby2_keywords(:method_missing) - # rubocop:enable Style/MethodMissingSuper # @private def handle_method_call(symbol, arguments, block)