Sha256: 9bb262dcaa9c9ffdac35dd4f317470afea252ed2d0dafa6e886bb8f014d07afc
Contents?: true
Size: 818 Bytes
Versions: 4
Compression:
Stored size: 818 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::AttributeInstanceMethods # module AttributeInstanceMethods private # Do not add any preloads automatically when batch option provided def get_preloads return if batch && !opts.key?(:preload) super end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems