diff options
author | Saku Ytti <saku@ytti.fi> | 2014-04-14 16:28:23 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-04-14 16:28:23 +0300 |
commit | 57a8f4bc04b4f87ad0d7028dcbf29b96d49eaffd (patch) | |
tree | 82567c791b0114e62fa3b978eb2bb95733d6488b /lib/oxidized/config/defaults.rb | |
parent | 1a1794b2b3ac99764852546c550fd7988f84c37b (diff) |
Use 'asetus' for configuration files
Main benefits
a) we get support for system wide configs
b) we don't use symbols in config file, they're confusing to
non-rubyist
Diffstat (limited to 'lib/oxidized/config/defaults.rb')
-rw-r--r-- | lib/oxidized/config/defaults.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/oxidized/config/defaults.rb b/lib/oxidized/config/defaults.rb deleted file mode 100644 index c30143f..0000000 --- a/lib/oxidized/config/defaults.rb +++ /dev/null @@ -1,14 +0,0 @@ -module Oxidized - class Config - Root = File.join ENV['HOME'], '.config', 'oxidized' - Crash = File.join Root, 'crash' - InputDir = File.join Directory, %w(lib oxidized input) - OutputDir = File.join Directory, %w(lib oxidized output) - ModelDir = File.join Directory, %w(lib oxidized model) - SourceDir = File.join Directory, %w(lib oxidized source) - Sleep = 1 - end - class << self - attr_accessor :mgr - end -end |