aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <mail@zzak.io>2015-09-02 09:43:50 -0400
committerZachary Scott <mail@zzak.io>2015-09-02 09:43:50 -0400
commitaa3acf85cbb6bbb54c345f4cce6ab9d48d882022 (patch)
treef62b180f31da8c1aef0f1db2870d7d9e4037c7e3
parentec14aad419381b502f510a9b3360f0e211e41066 (diff)
parent42c95b690f9bf7c0e7083afd35cc26aa3d0db97d (diff)
downloadrails-aa3acf85cbb6bbb54c345f4cce6ab9d48d882022.tar.gz
rails-aa3acf85cbb6bbb54c345f4cce6ab9d48d882022.tar.bz2
rails-aa3acf85cbb6bbb54c345f4cce6ab9d48d882022.zip
Merge pull request #21467 from yui-knk/doc/subscribe
[ci skip] Add description about which object
-rw-r--r--activesupport/lib/active_support/notifications.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/notifications.rb b/activesupport/lib/active_support/notifications.rb
index b9f8e1ab2c..823d68e507 100644
--- a/activesupport/lib/active_support/notifications.rb
+++ b/activesupport/lib/active_support/notifications.rb
@@ -69,8 +69,8 @@ module ActiveSupport
# is able to take the arguments as they come and provide an object-oriented
# interface to that data.
#
- # It is also possible to pass an object as the second parameter passed to the
- # <tt>subscribe</tt> method instead of a block:
+ # It is also possible to pass an object which responds to <tt>call</tt> method
+ # as the second parameter to the <tt>subscribe</tt> method instead of a block:
#
# module ActionController
# class PageRequest