Method: ConfStack#initialize
- Defined in:
- lib/conf_stack.rb
#initialize(filename: '.confstack') ⇒ ConfStack
Returns a new instance of ConfStack.
77 78 79 80 81 82 83 |
# File 'lib/conf_stack.rb', line 77 def initialize(filename: '.confstack') @filename = filename @loaded_conf_files = Set.new lookup_and_load_configuration_files load_configuration_file File.join(Dir.home, @filename) end |