diff options
author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2017-01-27 10:28:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-27 10:28:28 -0500 |
commit | 313bf87f37a8219124d1adbf42d3e4494c5c06a9 (patch) | |
tree | 8b1ec1ceac8ed6898ce1b13e6a859a08b1dd69f2 | |
parent | d506f3def1c56e40be0262a5d34560655faa9180 (diff) | |
parent | 221489a6e90152fcadc7f90e6e1da8e65d96d91c (diff) | |
download | rails-313bf87f37a8219124d1adbf42d3e4494c5c06a9.tar.gz rails-313bf87f37a8219124d1adbf42d3e4494c5c06a9.tar.bz2 rails-313bf87f37a8219124d1adbf42d3e4494c5c06a9.zip |
Merge pull request #27823 from kenta-s/fix-broken-example-for-file_update_checker
Fix broken sample code for EventedFileUpdateChecker [ci skip]
-rw-r--r-- | activesupport/lib/active_support/evented_file_update_checker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/evented_file_update_checker.rb b/activesupport/lib/active_support/evented_file_update_checker.rb index f54f88eb0a..ed4604c2df 100644 --- a/activesupport/lib/active_support/evented_file_update_checker.rb +++ b/activesupport/lib/active_support/evented_file_update_checker.rb @@ -17,7 +17,7 @@ module ActiveSupport # # Example: # - # checker = EventedFileUpdateChecker.new(["/tmp/foo"], -> { puts "changed" }) + # checker = ActiveSupport::EventedFileUpdateChecker.new(["/tmp/foo"]) { puts "changed" } # checker.updated? # # => false # checker.execute_if_updated |