From a43e7706be907e62fad4ffe5f80ab9532c51dbca Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Sat, 17 Dec 2016 17:13:50 +0900 Subject: Privatize unneededly protected methods in Active Support --- activesupport/lib/active_support/cache/file_store.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'activesupport/lib/active_support/cache/file_store.rb') diff --git a/activesupport/lib/active_support/cache/file_store.rb b/activesupport/lib/active_support/cache/file_store.rb index 6b7d0a230d..d5c8585816 100644 --- a/activesupport/lib/active_support/cache/file_store.rb +++ b/activesupport/lib/active_support/cache/file_store.rb @@ -66,7 +66,7 @@ module ActiveSupport end end - protected + private def read_entry(key, options) if File.exist?(key) @@ -98,7 +98,6 @@ module ActiveSupport end end - private # Lock a file for a block so only one process can modify it at a time. def lock_file(file_name, &block) if File.exist?(file_name) -- cgit v1.2.3