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