instance method
watched
Ruby on Rails 8.1.2
Since v4.0.13 PrivateSignature
watched()
No documentation comment.
Source
# File activesupport/lib/active_support/file_update_checker.rb, line 106
def watched
@watched || begin
all = @files.select { |f| File.exist?(f) }
all.concat(Dir[*@globs]) if @globs
all.tap(&:uniq!)
end
end
Defined in activesupport/lib/active_support/file_update_checker.rb line 106
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::FileUpdateChecker