Sha256: 46f640727b680fd673d58f38d8905c60698fef0a4e2502c583950e1513eda82b
Contents?: true
Size: 414 Bytes
Versions: 4
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true module RailsMultitenant module GlobalContextRegistry module RegistryDependentOn # Is this class dependent on changes in another GlobalContextRegistry- # stored object? Register that dependency here. def global_context_dependent_on(*klasses) klasses.each { |klass| GlobalContextRegistry.send(:add_dependency, klass, self) } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems