Sha256: a1cb70a61275d801df020585a87e05d7af2ca39380933faabf70a3877edca61d
Contents?: true
Size: 298 Bytes
Versions: 1
Compression:
Stored size: 298 Bytes
Contents
module Nurse 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nurse-rb-2.1.0 | lib/nurse/shared_service_factory.rb |