Methods

Attributes

[RW] caching
[RW] caching?

Class Public methods

track_caching()

# File actionview/lib/action_view/helpers/cache_helper.rb, line 301
def self.track_caching
  caching_was = self.caching
  self.caching = true

  yield
ensure
  self.caching = caching_was
end