Sha256: 6fb5c835d3d5b0a857d7b399381a99286e1f7171db346e796029846f2f550d02
Contents?: true
Size: 873 Bytes
Versions: 12
Compression:
Stored size: 873 Bytes
Contents
# frozen_string_literal: true # @api private # @since 0.1.0 class SmartCore::Container::DefinitionDSL::Commands::Base class << self # @param identifier [Boolean] # @return [Boolean] # # @api private # @since 0.19.0 def inheritable=(identifier) @inheritable = identifier end # @return [Boolean] # # @api private # @since 0.19.0 def inheritable? @inheritable end # @return [Boolean] # # @api private # @since 0.19.0 def inherited(child_klass) child_klass.instance_variable_set(:@inheritable, true) super end end # @param regsitry [SmartCore::Container::Registry] # @return [void] # # @api private # @since 0.1.0 def call(registry); end # @return [Boolean] # # @api private # @since 0.19.0 def inheritable? self.class.inheritable? end end
Version data entries
12 entries across 12 versions & 1 rubygems