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