You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: matrix-multiply.rb
    path of file: ./repos/truffleruby/bench/classic
    
    the code of the file until where you have to start completion: #!/usr/bin/ruby
# -*- mode: ruby -*-
# $Id: matrix.ru
    
def mkmatrix(rows, cols)
  count = 0

  matrix = []

  rows.times do
    row = []

    cols.times do
      row << (count += 1)
    end

    matrix << row
  end

  matrix
end