lib/ecu/interfaces/dcm/festwerteblock.rb in automotive-ecu-0.1.4 vs lib/ecu/interfaces/dcm/festwerteblock.rb in automotive-ecu-0.1.5

- old
+ new

@@ -15,11 +15,11 @@ str << " LANGNAME #{description.enquote}\n" if description str << " FUNKTION #{function}\n" if function str << " EINHEIT_W #{unit.enquote}\n" if unit value.each do |row| str << case row.first - when Numeric then " WERT #{row.join(" ")}\n" - when String then " TEXT #{row.map(&:enquote).join(" ")}\n" + when Numeric then " WERT #{row.join(" ")}\n" + when String then " TEXT #{row.map(&:enquote).join(" ")}\n" end end str << "END\n" end end