Skip to content
This repository
Browse code

minor changes

  • Loading branch information...
commit f76dd271c6c6a3ae613a37c5a3b8b13b945b5d66 1 parent c4b494b
Vijay Dev vijaydev authored
4 activesupport/lib/active_support/deprecation/reporting.rb
@@ -5,10 +5,8 @@ class << self
5 5
6 6 # Outputs a deprecation warning to the output configured by <tt>ActiveSupport::Deprecation.behavior</tt>
7 7 #
8   - # Example:
9   - #
10 8 # ActiveSupport::Deprecation.warn("something broke!")
11   - # #=> "DEPRECATION WARNING: something broke! (called from your_code.rb:1)"
  9 + # # => "DEPRECATION WARNING: something broke! (called from your_code.rb:1)"
12 10 def warn(message = nil, callstack = caller)
13 11 return if silenced
14 12 deprecation_message(callstack, message).tap do |m|
6 activesupport/lib/active_support/notifications/fanout.rb
... ... @@ -1,7 +1,7 @@
1 1 module ActiveSupport
2 2 module Notifications
3   - # This is a default queue implementation that ships with Notifications. It
4   - # just pushes events to all registered log subscribers.
  3 + # This is a default queue implementation that ships with Notifications.
  4 + # It just pushes events to all registered log subscribers.
5 5 class Fanout
6 6 def initialize
7 7 @subscribers = []
@@ -33,7 +33,7 @@ def listening?(name)
33 33 listeners_for(name).any?
34 34 end
35 35
36   - # This is a sync queue, so there is not waiting.
  36 + # This is a sync queue, so there is no waiting.
37 37 def wait
38 38 end
39 39

0 comments on commit f76dd27

Please sign in to comment.
Something went wrong with that request. Please try again.