From 42c95b690f9bf7c0e7083afd35cc26aa3d0db97d Mon Sep 17 00:00:00 2001 From: yui-knk Date: Wed, 2 Sep 2015 21:51:06 +0900 Subject: [ci skip] Add description about which object `ActiveSupport::Notifications.subscribe` expects as second parameter. --- activesupport/lib/active_support/notifications.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activesupport/lib/active_support/notifications.rb') 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 - # subscribe method instead of a block: + # It is also possible to pass an object which responds to call method + # as the second parameter to the subscribe method instead of a block: # # module ActionController # class PageRequest -- cgit v1.2.3