method

clear_cache

Importance_0
v8.1.1 - Show latest stable - 0 notes - Class: ActiveSupport::Notifications::Fanout
clear_cache(key = nil) 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 106
      def clear_cache(key = nil) # :nodoc:
        if key
          @all_listeners_for.delete(key)
          @groups_for.delete(key)
        else
          @all_listeners_for.clear
          @groups_for.clear
        end
      end
Register or log in to add new notes.