From 9649ca0fbe13a86b26b129d6ff925848f261496d Mon Sep 17 00:00:00 2001 From: abcang Date: Tue, 20 Oct 2020 16:13:39 +0900 Subject: Removed disabling comments for Style/MethodMissingSuper (#15014) * Removed disabling comments for Style/MethodMissingSuper * Update rubocop for codeclimate --- app/lib/settings/scoped_settings.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'app/lib/settings/scoped_settings.rb') diff --git a/app/lib/settings/scoped_settings.rb b/app/lib/settings/scoped_settings.rb index 3bec9bd56..ef694205c 100644 --- a/app/lib/settings/scoped_settings.rb +++ b/app/lib/settings/scoped_settings.rb @@ -11,7 +11,6 @@ module Settings @object = object end - # rubocop:disable Style/MethodMissingSuper def method_missing(method, *args) method_name = method.to_s # set a value for a variable @@ -24,7 +23,6 @@ module Settings self[method_name] end end - # rubocop:enable Style/MethodMissingSuper def respond_to_missing?(*) true -- cgit