Sha256: d003f3cd62543553f71a1188bd0b7c75a3499332259777da213c68af1b8a807b
Contents?: true
Size: 616 Bytes
Versions: 12
Compression:
Stored size: 616 Bytes
Contents
# frozen_string_literal: true module SmartCore::Container::DefinitionDSL::Commands::Instantiation # @api private # @since 0.1.0 class FreezeState < SmartCore::Container::DefinitionDSL::Commands::Base # @since 0.1.0 self.inheritable = false # @param registry [SmartCore::Container::Registry] # @return [void] # # @api private # @since 0.1.0 def call(registry) registry.freeze! end # @return [SmartCore::Container::DefinitionDSL::Commands::Instantiation::FreezeState] # # @api private # @since 0.1.0 def dup self.class.new end end end
Version data entries
12 entries across 12 versions & 1 rubygems