method

remove_event_subscriber

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Subscriber
remove_event_subscriber(event) private

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/subscriber.rb, line 96
        def remove_event_subscriber(event) # :doc:
          return if invalid_event?(event)

          pattern = prepare_pattern(event)

          return unless pattern_subscribed?(pattern)

          notifier.unsubscribe(subscriber.patterns[pattern])
          subscriber.patterns.delete(pattern)
        end
Register or log in to add new notes.