class method
self.event_methods
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
self.event_methods()
Event name => event method name, shared across subclasses: the mapping is derived from the name alone, and computing it allocates a substring.
Source
# File activesupport/lib/active_support/event_reporter/log_subscriber.rb, line 26
def event_methods
ActiveSupport::Ractors.store_if_absent(:active_support_event_log_subscriber_event_methods) { Concurrent::Map.new }
end
Defined in activesupport/lib/active_support/event_reporter/log_subscriber.rb line 26
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::EventReporter::LogSubscriber