Sha256: 6df6aa608c24afc1630de97ff0d2fbadaacb36592b890099438c1cbc222c8713

Contents?: true

Size: 195 Bytes

Versions: 10

Compression:

Stored size: 195 Bytes

Contents

class Ecu
  class Festwert < Label
    def to_mfile
      case value
      when Numeric then "#{name} = #{value};\n"
      when String  then "#{name} = '#{value}';\n"
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
automotive-ecu-0.1.9 lib/ecu/interfaces/mfile/festwert.rb
automotive-ecu-0.1.8 lib/ecu/interfaces/mfile/festwert.rb
automotive-ecu-0.1.7 lib/ecu/interfaces/mfile/festwert.rb
automotive-ecu-0.1.6 lib/ecu/interfaces/mfile/festwert.rb
automotive-ecu-0.1.5 lib/ecu/interfaces/mfile/festwert.rb
automotive-ecu-0.1.4 lib/ecu/interfaces/mfile/festwert.rb
automotive-ecu-0.1.3 lib/ecu/interfaces/mfile/festwert.rb
automotive-ecu-0.1.2 lib/ecu/interfaces/mfile/festwert.rb
automotive-ecu-0.1.1 lib/ecu/interfaces/mfile/festwert.rb
automotive-ecu-0.1.0 lib/ecu/interfaces/mfile/festwert.rb