aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-09-02 21:51:06 +0900
committeryui-knk <spiketeika@gmail.com>2015-09-02 21:51:06 +0900
commit42c95b690f9bf7c0e7083afd35cc26aa3d0db97d (patch)
tree75603a10daea0f2f99aaac0a64907ba73a44e042 /activesupport
parent13c690345152b8ec33919a69d6a290eed571a378 (diff)
downloadrails-42c95b690f9bf7c0e7083afd35cc26aa3d0db97d.tar.gz
rails-42c95b690f9bf7c0e7083afd35cc26aa3d0db97d.tar.bz2
rails-42c95b690f9bf7c0e7083afd35cc26aa3d0db97d.zip
[ci skip] Add description about which object
`ActiveSupport::Notifications.subscribe` expects as second parameter.
Diffstat (limited to 'activesupport')
-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