lib/settings.rb in capucine-0.0.9 vs lib/settings.rb in capucine-0.1.1
- old
+ new
@@ -44,25 +44,24 @@
end
end
#self.test_config
end
- def test_config
- # TO DO :
- conf_dirs = []
- dirs = []
- for conf in conf_dirs
- conf = @config[conf]
- dirs.push File.join(@working_dir,conf)
- end
+ # def test_config
+ # conf_dirs = []
+ # dirs = []
+ # for conf in conf_dirs
+ # conf = @config[conf]
+ # dirs.push File.join(@working_dir,conf)
+ # end
- for dir in dirs
- unless File.directory?(dir)
- puts "[error] #{dir} - Does not exist."
- exit
- end
- end
- end
+ # for dir in dirs
+ # unless File.directory?(dir)
+ # puts "[error] #{dir} - Does not exist."
+ # exit
+ # end
+ # end
+ # end
def reset_working_dir
if @external_config
from_user = File.expand_path @user_config_file
@working_dir = File.dirname from_user