lib/nurse.rb in nurse-rb-1.0.0 vs lib/nurse.rb in nurse-rb-2.0.0
- old
+ new
@@ -1,8 +1,10 @@
-require "nurse/version"
-require "nurse/dependency_container"
+require 'nurse/version'
+require 'nurse/dependency_container'
+require 'nurse/service_factory'
+require 'nurse/shared_service_factory'
module Nurse
- def self.dependency_manager
- @@dependency_manager ||= DependencyContainer.new
+ def self.instance
+ @instance ||= DependencyContainer.new
end
end