lib/encbsconfig.rb in encbs-0.1.2 vs lib/encbsconfig.rb in encbs-0.1.3

- old
+ new

@@ -5,9 +5,14 @@ def initialize @paths = "" end def load(path) + [:bucket, :colorize, :hostname, :increment, :key, :secret, + :token, :verbose].each {|attr| eval "@#{attr} = nil"} + + @paths = "" + eval "#{open(path).read}" end def use_hostname(attr) @hostname = attr