Sha256: c0ae986ea3a53201a01bb299cea34106dd7eb06d6918690415f9a634d09da095
Contents?: true
Size: 354 Bytes
Versions: 21
Compression:
Stored size: 354 Bytes
Contents
# frozen_string_literal: true module N1Loader module ArLazyPreload # A patch to {N1Loader::Loader} to setup lazy context lazily. module LoaderPatch attr_accessor :context_setup def loaded return @loaded if @loaded super context_setup&.call(preloaded_records) @loaded end end end end
Version data entries
21 entries across 21 versions & 1 rubygems