Parent

Methods

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 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.

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.