Sha256: f00b75eacc8b0825ae25766af0360e925fe2dcf5e64adf77cb45319a304cada0

Contents?: true

Size: 609 Bytes

Versions: 10

Compression:

Stored size: 609 Bytes

Contents

require_relative "labels/label_list"
require_relative "signals/signal_list"
require_relative "combined_list_comparison"
require_relative "interfaces/lab/combined_list"

class Ecu
  class CombinedList

    def initialize(signals=SignalList.new, labels=LabelList.new, headers=[], subheaders=[])
      @signals    = signals
      @labels     = labels
      @headers    = headers
      @subheaders = subheaders
    end

    attr_accessor :signals, :labels, :headers, :subheaders

    def to_s
      "<CombinedList: #{signals.count} signals, #{labels.count} labels}>"
    end

    def inspect; to_s end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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