# File lib/puppet/util/settings.rb, line 172 172: def initialize 173: @config = {} 174: @shortnames = {} 175: 176: @created = [] 177: @searchpath = nil 178: 179: # Mutex-like thing to protect @values 180: @sync = Sync.new 181: 182: # Keep track of set values. 183: @values = Hash.new { |hash, key| hash[key] = {} } 184: 185: # And keep a per-environment cache 186: @cache = Hash.new { |hash, key| hash[key] = {} } 187: 188: # A central concept of a name. 189: @name = nil 190: 191: # The list of sections we've used. 192: @used = [] 193: end