lib/confuse/config_mixin.rb in confuse-0.1.6 vs lib/confuse/config_mixin.rb in confuse-0.1.7
- old
+ new
@@ -47,10 +47,10 @@
end
memo
end
end
- def params_hash
+ def self.params_hash
namespaces.reduce({}) do |memo, (name, namespace)|
namespace.keys.each do |key|
item = namespace.get_item(key)
memo[:"#{name}_#{key}"] = {
:type => item.type,