method
updated?
v6.0.0 -
Show latest stable
- Class:
ActiveSupport::EventedFileUpdateChecker
updated?()public
No documentation available.
# File activesupport/lib/active_support/evented_file_update_checker.rb, line 71
def updated?
@boot_mutex.synchronize do
if @pid != Process.pid
boot!
@pid = Process.pid
@updated.make_true
end
end
if @missing.any?(&:exist?)
@boot_mutex.synchronize do
appeared, @missing = @missing.partition(&:exist?)
shutdown!
@dtw += appeared
boot!
@updated.make_true
end
end
@updated.true?
end