Methods

Class Public methods

new(watcher:)

📝 Source code
# File actionview/lib/action_view/cache_expiry.rb, line 6
      def initialize(watcher:)
        @cache_expiry = CacheExpiry.new(watcher: watcher)
      end
🔎 See on GitHub

Instance Public methods

before(target)

📝 Source code
# File actionview/lib/action_view/cache_expiry.rb, line 10
      def before(target)
        @cache_expiry.clear_cache_if_necessary
      end
🔎 See on GitHub