Object
# File lib/chef/expander/configuration.rb, line 52 def initialize @config_hash = {} end
# File lib/chef/expander/configuration.rb, line 56 def load(file) file = File.expand_path(file) instance_eval(IO.read(file), file, 1) if File.readable?(file) end
# File lib/chef/expander/configuration.rb, line 61 def method_missing(method_name, *args, &block) if args.size == 1 @config_hash[method_name] = args.first elsif args.empty? @config_hash[method_name] or super else super end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.