elasticsearch-ruby

https://github.com/elastic/elasticsearch-ruby

Ruby

Ruby integrations for Elasticsearch

Matrix.rows

Creates a matrix where +rows+ is an array of arrays, each of which is a row
of the matrix.  If the optional argument +copy+ is false, use the given
arrays as the internal structure of the matrix without copying.
  Matrix.rows([[25, 93], [-1, 66]])
     =>  25 93
         -1 66

Source | Google | Stack overflow

Edit

git clone [email protected]:elastic/elasticsearch-ruby.git

cd elasticsearch-ruby

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Matrix-rows-for-pr


# Commit to git

git add git commit -m "better docs for Matrix.rows"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Matrix-rows-for-pr

hub pull-request


# Celebrate!