lib/configit/base.rb in configit-0.1.0 vs lib/configit/base.rb in configit-0.1.1

- old
+ new

@@ -145,10 +145,10 @@ m end @attribute_module.class_eval do define_method name do - value = attributes[name] + value = attributes[name] || attr.default if value != nil @@converters[attr.type].call(value) else value end