Sha256: eeb5cdf602c36eabc5e265db324fdd2e34348964bdea0669c210df464cbf92d6

Contents?: true

Size: 230 Bytes

Versions: 10

Compression:

Stored size: 230 Bytes

Contents

class Ecu
  class Festwerteblock < 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/festwerteblock.rb
automotive-ecu-0.1.8 lib/ecu/interfaces/mfile/festwerteblock.rb
automotive-ecu-0.1.7 lib/ecu/interfaces/mfile/festwerteblock.rb
automotive-ecu-0.1.6 lib/ecu/interfaces/mfile/festwerteblock.rb
automotive-ecu-0.1.5 lib/ecu/interfaces/mfile/festwerteblock.rb
automotive-ecu-0.1.4 lib/ecu/interfaces/mfile/festwerteblock.rb
automotive-ecu-0.1.3 lib/ecu/interfaces/mfile/festwerteblock.rb
automotive-ecu-0.1.2 lib/ecu/interfaces/mfile/festwerteblock.rb
automotive-ecu-0.1.1 lib/ecu/interfaces/mfile/festwerteblock.rb
automotive-ecu-0.1.0 lib/ecu/interfaces/mfile/festwerteblock.rb