class Utils::ConfigDir
def initialize(name, root_path: nil, env_var: nil)
-
env_var
(String, nil
) -- the name of the environment variable to -
root_path
(String, nil
) -- the root path to use; if nil, the -
name
(String
) -- the name of the directory to be used
def initialize(name, root_path: nil, env_var: nil) root_path ||= env_var_path(env_var) @directory_path = derive_directory_path(name, root_path) end