Sha256: 1dadf41e5a7f8fa7f79273bc4227a88d6f891fda52b7ca15731074f54da38e9d
Contents?: true
Size: 733 Bytes
Versions: 15
Compression:
Stored size: 733 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Common module Plugins module CanBeCopied module Concern include Support::Concern ## # NOTE: `CanBeCopied` plugin expects that `CachesConstructorParams` plugin is already used. # That is why `constructor_params` method is available. # instance_methods do include Support::Copyable def to_args constructor_params.args end def to_kwargs constructor_params.kwargs end def to_block constructor_params.block end end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems