Sha256: 245b15bc93412982452c11e251f4e2195f8feb929002eff4e394ecd008ab7747
Contents?: true
Size: 534 Bytes
Versions: 11
Compression:
Stored size: 534 Bytes
Contents
# frozen_string_literal: true require "active_support/all" module Labkit module Tracing module Rails # RailsCommon is a mixin for providing instrumentation # functionality for the rails instrumentation classes module RailsCommon extend ::ActiveSupport::Concern class_methods do def create_unsubscriber(subscriptions) -> { subscriptions.each { |subscriber| ::ActiveSupport::Notifications.unsubscribe(subscriber) } } end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems