aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/cache
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-10-25 14:46:36 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-10-25 14:54:25 -0200
commitc5d46a8a4e11a2e223186e2d04f4d2867df9d927 (patch)
tree607302476b68a09d3697a373b8d5fba1516f66d2 /activesupport/lib/active_support/cache
parentc05a209fe975f8ba490ceddd6112b71c18c71cb7 (diff)
downloadrails-c5d46a8a4e11a2e223186e2d04f4d2867df9d927.tar.gz
rails-c5d46a8a4e11a2e223186e2d04f4d2867df9d927.tar.bz2
rails-c5d46a8a4e11a2e223186e2d04f4d2867df9d927.zip
Whitespace
Diffstat (limited to 'activesupport/lib/active_support/cache')
-rw-r--r--activesupport/lib/active_support/cache/strategy/local_cache.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/cache/strategy/local_cache.rb b/activesupport/lib/active_support/cache/strategy/local_cache.rb
index ec2e96a106..f41cc23eb0 100644
--- a/activesupport/lib/active_support/cache/strategy/local_cache.rb
+++ b/activesupport/lib/active_support/cache/strategy/local_cache.rb
@@ -70,6 +70,7 @@ module ActiveSupport
def with_local_cache
use_temporary_local_cache(LocalStore.new) { yield }
end
+
# Middleware class can be inserted as a Rack handler to be local cache for the
# duration of request.
def middleware