diff options
author | claudiob <claudiob@gmail.com> | 2014-12-17 12:20:14 -0800 |
---|---|---|
committer | claudiob <claudiob@gmail.com> | 2014-12-17 14:01:04 -0800 |
commit | 0de9a6ed2149c26648b37dba647605c182c4fc66 (patch) | |
tree | 7d8f4ce2aa1c1a299d0d3da04cfc16d67dcef852 /activesupport/lib/active_support/notifications | |
parent | e07f3ddcac394d2a8dc23fc571318b7e8c2497b1 (diff) | |
download | rails-0de9a6ed2149c26648b37dba647605c182c4fc66.tar.gz rails-0de9a6ed2149c26648b37dba647605c182c4fc66.tar.bz2 rails-0de9a6ed2149c26648b37dba647605c182c4fc66.zip |
Fix docs for AS::Notifications::Event#duration
Stems from comments by @zzak on e07f3dd:
* https://github.com/rails/docrails/commit/e07f3ddcac394d2a8dc23fc571318b7e8c2497b1#commitcomment-9015634
* https://github.com/rails/docrails/commit/e07f3ddcac394d2a8dc23fc571318b7e8c2497b1#commitcomment-9015639
[ci skip]
Diffstat (limited to 'activesupport/lib/active_support/notifications')
-rw-r--r-- | activesupport/lib/active_support/notifications/instrumenter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/notifications/instrumenter.rb b/activesupport/lib/active_support/notifications/instrumenter.rb index 68c553059f..64cb99d2e2 100644 --- a/activesupport/lib/active_support/notifications/instrumenter.rb +++ b/activesupport/lib/active_support/notifications/instrumenter.rb @@ -57,8 +57,8 @@ module ActiveSupport @duration = nil end - # Returns the difference in milliseconds between the moments when the - # execution of the instrumented event started and when it ended. + # Returns the difference in milliseconds between when the execution of the + # event started and when it ended. # # ActiveSupport::Notifications.subscribe('wait') do |*args| # @event = ActiveSupport::Notifications::Event.new(*args) |