aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/notifications.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-07-30 02:30:04 +0200
committerXavier Noria <fxn@hashref.com>2010-07-30 02:30:04 +0200
commit755af497555fde16db86f7e51f6462b0aca79b49 (patch)
tree9280835167f7ea7422df010f67c65c729dd26de1 /activesupport/lib/active_support/notifications.rb
parenta7a6a2ff46b173b420bd493d727772531d72658f (diff)
downloadrails-755af497555fde16db86f7e51f6462b0aca79b49.tar.gz
rails-755af497555fde16db86f7e51f6462b0aca79b49.tar.bz2
rails-755af497555fde16db86f7e51f6462b0aca79b49.zip
edit pass to apply API guideline wrt the use of "# =>" in example code
Diffstat (limited to 'activesupport/lib/active_support/notifications.rb')
-rw-r--r--activesupport/lib/active_support/notifications.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/notifications.rb b/activesupport/lib/active_support/notifications.rb
index ca9f5ae1ac..fd79188ba4 100644
--- a/activesupport/lib/active_support/notifications.rb
+++ b/activesupport/lib/active_support/notifications.rb
@@ -22,9 +22,9 @@ module ActiveSupport
# end
#
# event = @events.first
- # event.name #=> :render
- # event.duration #=> 10 (in milliseconds)
- # event.payload #=> { :extra => :information }
+ # event.name # => :render
+ # event.duration # => 10 (in milliseconds)
+ # event.payload # => { :extra => :information }
#
# When subscribing to Notifications, you can pass a pattern, to only consume
# events that match the pattern: