class OpenShift::Config

Public Class Methods

instance() click to toggle source

This is a bit of a hack. The old OpenShift::Config was a singleton object, and so users would use ::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.

# File lib/openshift-origin-node/config.rb, line 17
def self.instance
  OpenShift::Config.new
end