Sha256: 524e4ef632a7a578943af0aafd142de8c2183eca22408129c000d6be5c4f5d2a
Contents?: true
Size: 886 Bytes
Versions: 13
Compression:
Stored size: 886 Bytes
Contents
# frozen_string_literal: true class Serega module SeregaPlugins module Batch # # Extensions (mini-plugins) that are enabled when :batch plugin used with other plugins # module PluginsExtensions # # Extension that is used when :preloads plugin is loaded # module Preloads # # Attribute additional/patched instance methods # # @see Serega::SeregaPlugins::Preloads::AttributeNormalizerInstanceMethods # module AttributeNormalizerInstanceMethods private # Do not add any preloads automatically when batch option provided def prepare_preloads opts = init_opts return if opts.key?(:batch) && !opts.key?(:preload) super end end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems