module RailsMultitenant::GlobalContextRegistry::RegistryDependentOn
Public Instance Methods
global_context_dependent_on(*klasses)
click to toggle source
Is this class dependent on changes in another GlobalContextRegistry- stored object? Register that dependency here.
# File lib/rails_multitenant/global_context_registry/registry_dependent_on.rb, line 8 def global_context_dependent_on(*klasses) klasses.each { |klass| GlobalContextRegistry.send(:add_dependency, klass, self) } end