Sha256: 4417f45e39bd724fc0a27d5e9f17a3ef97cc9abba37919d616056e17506f9125

Contents?: true

Size: 224 Bytes

Versions: 10

Compression:

Stored size: 224 Bytes

Contents

class Ecu
  class Kennfeld < Label
    def to_mfile
      "#{name} = [\n".tap do |str|
        value.each do |row|
          str << row.join("  ").indent << "\n"
        end
        str << "];\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/kennfeld.rb
automotive-ecu-0.1.8 lib/ecu/interfaces/mfile/kennfeld.rb
automotive-ecu-0.1.7 lib/ecu/interfaces/mfile/kennfeld.rb
automotive-ecu-0.1.6 lib/ecu/interfaces/mfile/kennfeld.rb
automotive-ecu-0.1.5 lib/ecu/interfaces/mfile/kennfeld.rb
automotive-ecu-0.1.4 lib/ecu/interfaces/mfile/kennfeld.rb
automotive-ecu-0.1.3 lib/ecu/interfaces/mfile/kennfeld.rb
automotive-ecu-0.1.2 lib/ecu/interfaces/mfile/kennfeld.rb
automotive-ecu-0.1.1 lib/ecu/interfaces/mfile/kennfeld.rb
automotive-ecu-0.1.0 lib/ecu/interfaces/mfile/kennfeld.rb