class ChefConfig::Config

def self.from_string(string, filename)

+filename+ is used for context in stacktraces, but doesn't need to be the name of an actual file.

Evaluates the given string as config.
def self.from_string(string, filename)
  instance_eval(string, filename, 1)
end