Sha256: f8395964be18d33be00acf68f7c698f544977c234c3d06464ae954ecd1618e4d
Contents?: true
Size: 338 Bytes
Versions: 1
Compression:
Stored size: 338 Bytes
Contents
module Koine module Di class SharedServiceFactory < ServiceFactory def shared? true end class << self private def share(_shared) raise 'You cannot change the shared state of a shared service factory. Extend Nurse::ServiceFactory instead' end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
koine-di-1.0.0 | lib/koine/di/shared_service_factory.rb |