method

new

rails latest stable - Class: ActionView::CacheExpiry::ViewModificationWatcher

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

new(watcher:, &block)
public

No documentation available.

# File actionview/lib/action_view/cache_expiry.rb, line 33
      def initialize(watcher,, &block)
        @watched_dirs = nil
        @watcher_class = watcher
        @watcher = nil
        @mutex = Mutex.new
        @block = block
      end