module ActiveSupport::PerThreadRegistry

Private Instance Methods

per_thread_registry_instance() click to toggle source
# File lib/database_slave/runtime_registry.rb, line 18
def per_thread_registry_instance
  Thread.current[name] ||= new
end