diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-15 11:01:37 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-15 12:24:31 +0100 |
commit | 7f4d8e3fbd704cf1005a46309e3795192b114013 (patch) | |
tree | 39b65d628b46cc849086470c614b66351141cd0d /activesupport/lib/active_support/notifications.rb | |
parent | b0994be5bd24559f1362a636b46271de6d6a92d6 (diff) | |
download | rails-7f4d8e3fbd704cf1005a46309e3795192b114013.tar.gz rails-7f4d8e3fbd704cf1005a46309e3795192b114013.tar.bz2 rails-7f4d8e3fbd704cf1005a46309e3795192b114013.zip |
Yield the payload notifications for further modification (like adding the result).
Diffstat (limited to 'activesupport/lib/active_support/notifications.rb')
-rw-r--r-- | activesupport/lib/active_support/notifications.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/notifications.rb b/activesupport/lib/active_support/notifications.rb index a1383bb478..3e96decb8c 100644 --- a/activesupport/lib/active_support/notifications.rb +++ b/activesupport/lib/active_support/notifications.rb @@ -45,7 +45,7 @@ module ActiveSupport class << self attr_writer :notifier delegate :publish, :subscribe, :to => :notifier - delegate :instrument, :instrument!, :to => :instrumenter + delegate :instrument, :to => :instrumenter def notifier @notifier ||= Notifier.new |