Flowdock
subscribe(pattern = nil, block = Proc.new) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/notifications/fanout.rb, line 11
      def subscribe(pattern = nil, block = Proc.new)
        subscriber = Subscriber.new(pattern, block).tap do |s|
          @subscribers << s
        end
        @listeners_for.clear
        subscriber
      end
Register or log in to add new notes.