class method
self.new
Ruby on Rails 4.0.13
Since v3.1.12 Last seen in v4.1.16Signature
self.new(path, watcher)
No documentation comment.
Parameters
-
pathreq -
watcherreq
Source
# File activesupport/lib/active_support/file_watcher.rb, line 4
def initialize(path, watcher)
@watcher = watcher
@path = path
end
Defined in activesupport/lib/active_support/file_watcher.rb line 4
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::FileWatcher::Backend