class method
self.new
Ruby on Rails 7.0.10
Since v7.0.10 Last seen in v7.0.10Signature
self.new(watcher:, &block)
No documentation comment.
Parameters
-
watcherkeyreq -
blockblock
Source
# 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
Defined in actionview/lib/action_view/cache_expiry.rb line 33
· View on GitHub
· Improve this page
· Find usages on GitHub