lib/humidifier/fn.rb in humidifier-1.9.1.1 vs lib/humidifier/fn.rb in humidifier-1.9.1.2
- old
+ new
@@ -14,11 +14,10 @@
@value = value
end
# CFN stack syntax
def to_cf
- cf_value = value.respond_to?(:cf) ? value.to_cf : value
- { name => cf_value }
+ { name => Serializer.dump(value) }
end
class << self
FUNCTIONS.each do |name, func|
define_method(func) { |value| new(name, value) }