Class: Everdone::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/everdone/config.rb

Instance Method Summary collapse

Constructor Details

#initialize(default_hash_file, user_settings_file) ⇒ Config

Returns a new instance of Config.



10
11
12
13
14
15
16
17
# File 'lib/everdone/config.rb', line 10

def initialize(default_hash_file, )
    @defaults = unmarshall_from_file(default_hash_file)
    @user_settings_file = 
    @users = unmarshall_from_file(@user_settings_file)
    @current = {}

    collate_settings()
end