Sha256: 348188346f7ffedc5446a34244019c55b2a2e100aca50372b68ff8015b172198

Contents?: true

Size: 510 Bytes

Versions: 8

Compression:

Stored size: 510 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module Common
    module Plugins
      module CachesConstructorArguments
        module Concern
          include Support::Concern

          instance_methods do
            ##
            # @return [ConvenientService::Support::Arguments]
            #
            def constructor_arguments
              internals.cache[:constructor_arguments] || Support::Arguments.null_arguments
            end
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
convenient_service-0.19.1 lib/convenient_service/common/plugins/caches_constructor_arguments/concern.rb
convenient_service-0.19.0 lib/convenient_service/common/plugins/caches_constructor_arguments/concern.rb
convenient_service-0.18.0 lib/convenient_service/common/plugins/caches_constructor_arguments/concern.rb
convenient_service-0.17.0 lib/convenient_service/common/plugins/caches_constructor_arguments/concern.rb
convenient_service-0.16.0 lib/convenient_service/common/plugins/caches_constructor_arguments/concern.rb
convenient_service-0.15.0 lib/convenient_service/common/plugins/caches_constructor_arguments/concern.rb
convenient_service-0.14.0 lib/convenient_service/common/plugins/caches_constructor_arguments/concern.rb
convenient_service-0.13.0 lib/convenient_service/common/plugins/caches_constructor_arguments/concern.rb