Class: OpenShift::Config
- Inherits:
-
Object
- Object
- OpenShift::Config
- Defined in:
- lib/openshift-origin-node/config.rb
Class Method Summary collapse
-
.instance ⇒ Object
This is a bit of a hack.
Class Method Details
.instance ⇒ Object
This is a bit of a hack. The old OpenShift::Config was a singleton object, and so users would use OpenShift::Config.instance to get it. Here, we define .instance to return a new instance. Hopefully, nothing is relying on the standard singleton behavior whereby .instance always returns the same instance.
17 18 19 |
# File 'lib/openshift-origin-node/config.rb', line 17 def self.instance OpenShift::Config.new end |