diff options
author | Akira Matsuda <ronnie@dio.jp> | 2016-12-24 11:33:04 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2016-12-24 11:36:51 +0900 |
commit | 4db99eb87b98f3810e782fd745b0474467f9ce66 (patch) | |
tree | bc75f2e2a02f46af0d94d4210de0a71eaebbe7cb /activesupport/lib/active_support/cache | |
parent | 0fdd9bd39eb7a90829260a89a4255a87698b13e1 (diff) | |
download | rails-4db99eb87b98f3810e782fd745b0474467f9ce66.tar.gz rails-4db99eb87b98f3810e782fd745b0474467f9ce66.tar.bz2 rails-4db99eb87b98f3810e782fd745b0474467f9ce66.zip |
No need to nodoc private methods
Diffstat (limited to 'activesupport/lib/active_support/cache')
-rw-r--r-- | activesupport/lib/active_support/cache/file_store.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/cache/file_store.rb b/activesupport/lib/active_support/cache/file_store.rb index 34456a594f..6b7d0a230d 100644 --- a/activesupport/lib/active_support/cache/file_store.rb +++ b/activesupport/lib/active_support/cache/file_store.rb @@ -100,7 +100,7 @@ module ActiveSupport private # Lock a file for a block so only one process can modify it at a time. - def lock_file(file_name, &block) # :nodoc: + def lock_file(file_name, &block) if File.exist?(file_name) File.open(file_name, "r+") do |f| begin |