Sha256: 82711a67dea276c9fa7135db4ed6497fac6beec04d236b3f390c8024d5f6ddf7
Contents?: true
Size: 462 Bytes
Versions: 15
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Common module Plugins module CachesConstructorParams class Middleware < Core::MethodChainMiddleware def next(*args, **kwargs, &block) entity.internals.cache[:constructor_params] = Entities::ConstructorParams.new(args: args, kwargs: kwargs, block: block) chain.next(*args, **kwargs, &block) end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems