lib/ecu/interfaces/dcm/stuetzstellenverteilung.rb in automotive-ecu-0.1.4 vs lib/ecu/interfaces/dcm/stuetzstellenverteilung.rb in automotive-ecu-0.1.5
- old
+ new
@@ -10,11 +10,11 @@
sprintf(fmtstr, type.upcase, name, xdim).tap do |str|
str << " LANGNAME #{description.enquote}\n" if description
str << " FUNKTION #{function}\n" if function
str << " EINHEIT_X #{xunit.enquote}\n" if xunit
str << case xvalue.first
- when Numeric then " ST/X #{xvalue.join(" ")}\n"
- when String then " ST_TX/X #{xvalue.map(&:enquote).join(" ")}\n"
+ when Numeric then " ST/X #{xvalue.join(" ")}\n"
+ when String then " ST_TX/X #{xvalue.map(&:enquote).join(" ")}\n"
end
str << "END\n"
end
end
end