Permalink
Browse files

Merge pull request #27823 from kenta-s/fix-broken-example-for-file_up…

…date_checker

Fix broken sample code for EventedFileUpdateChecker [ci skip]
  • Loading branch information...
eileencodes committed Jan 27, 2017
2 parents d506f3d + 221489a commit 313bf87f37a8219124d1adbf42d3e4494c5c06a9
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 313bf87

Please sign in to comment.