lib/humidifier/output.rb in humidifier-4.1.1 vs lib/humidifier/output.rb in humidifier-4.2.0

- old
+ new

@@ -9,12 +9,12 @@ @value = opts[:value] @export_name = opts[:export_name] end def to_cf - { 'Value' => Serializer.dump(value) }.tap do |cf| - cf['Description'] = description if description - cf['Export'] = { 'Name' => export_name } if export_name + { "Value" => Serializer.dump(value) }.tap do |cf| + cf["Description"] = description if description + cf["Export"] = { "Name" => export_name } if export_name end end end end