Sha256: 0ce95a3e9febc065c9275b822f5cc19129fad1cbba98f68bc1ee72491c27b0a3
Contents?: true
Size: 334 Bytes
Versions: 3
Compression:
Stored size: 334 Bytes
Contents
# frozen_string_literal: true module N1Loader module ArLazyPreload module Loadable # :nodoc: def n1_loader(name) return n1_loaders[name] if n1_loaders[name] ContextAdapter.new(lazy_preload_context).try_preload_lazily(name) if respond_to?(:lazy_preload_context) super end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
n1_loader-1.7.4 | lib/n1_loader/ar_lazy_preload/loadable.rb |
n1_loader-1.7.3 | lib/n1_loader/ar_lazy_preload/loadable.rb |
n1_loader-1.7.2 | lib/n1_loader/ar_lazy_preload/loadable.rb |