diff options
author | kenta-s <knt01222@gmail.com> | 2017-01-28 00:04:24 +0900 |
---|---|---|
committer | kenta-s <knt01222@gmail.com> | 2017-01-28 00:23:14 +0900 |
commit | 221489a6e90152fcadc7f90e6e1da8e65d96d91c (patch) | |
tree | 8b1ec1ceac8ed6898ce1b13e6a859a08b1dd69f2 /activesupport | |
parent | d506f3def1c56e40be0262a5d34560655faa9180 (diff) | |
download | rails-221489a6e90152fcadc7f90e6e1da8e65d96d91c.tar.gz rails-221489a6e90152fcadc7f90e6e1da8e65d96d91c.tar.bz2 rails-221489a6e90152fcadc7f90e6e1da8e65d96d91c.zip |
Fix broken sample code for EventedFileUpdateChecker [ci skip]
Diffstat (limited to 'activesupport')
-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 |