lib/isomer/sources/base.rb in isomer-0.1.3 vs lib/isomer/sources/base.rb in isomer-0.1.4

- old
+ new

@@ -25,10 +25,10 @@ raise Isomer::RequiredParameterError, errors.join(', ') if !errors.empty? end def for(parameter) - configuration[parameter.name] || parameter.default + configuration.has_key?(parameter.name) ? configuration[parameter.name] : parameter.default end private def valid(value) \ No newline at end of file