lib/confuse/config.rb in confuse-0.1.1 vs lib/confuse/config.rb in confuse-0.1.2
- old
+ new
@@ -12,11 +12,11 @@
include ConfigMixin
extend DSL
def initialize(*paths)
load_namespaces(self.class.namespaces)
- read_files(self.class.config_path)
- read_files(paths)
+ read_files(self.class.config_path.flatten)
+ read_files(paths.flatten)
end
def config
self
end