sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
ActiveSupport::FileUpdateChecker#max_mtime
This method returns the maximum mtime of the files in +paths+, or +nil+ if the array is empty. Files with a mtime in the future are ignored. Such abnormal situation can happen for example if the user changes the clock by hand. It is healthy to consider this edge case because with mtimes in the future reloading is not triggered.
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/activesupport-7.0.6/lib/active_support/file_update_checker.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ActiveSupport--FileUpdateChecker-max_mtime-for-pr
# Commit to gitgit add app/server/ruby/vendor/activesupport-7.0.6/lib/active_support/file_update_checker.rbgit commit -m "better docs for ActiveSupport::FileUpdateChecker#max_mtime"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ActiveSupport--FileUpdateChecker-max_mtime-for-pr
hub pull-request
# Celebrate!