Sha256: bad55cb2ec0a2032a1f20f4c4a0d981c3225f514a22f4d6de6c0f9bd164acc6d

Contents?: true

Size: 370 Bytes

Versions: 37

Compression:

Stored size: 370 Bytes

Contents

require 'pact_broker/ui/view_models/matrix_line'

module PactBroker
  module UI
    module ViewDomain
      class MatrixLines < Array

        def initialize rows, options = {}
          lines = rows.collect do | row |
            PactBroker::UI::ViewDomain::MatrixLine.new(row, options)
          end
          super(lines.sort)
        end
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
pact_broker-2.79.1 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.79.0 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.78.1 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.78.0 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.77.0 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.76.2 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.76.1 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.76.0 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.75.0 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.74.1 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.74.0 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.73.0 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.72.0 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.71.0 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.70.0 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.69.0 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.68.1 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.68.0 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.67.0 lib/pact_broker/ui/view_models/matrix_lines.rb
pact_broker-2.66.0 lib/pact_broker/ui/view_models/matrix_lines.rb