elasticsearch-ruby

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

Ruby

Ruby integrations for Elasticsearch

Matrix#vstack

Returns a new matrix resulting by stacking vertically
the receiver with the given matrices

  x = Matrix[[1, 2], [3, 4]]
  y = Matrix[[5, 6], [7, 8]]
  x.vstack(y) # => Matrix[[1, 2], [3, 4], [5, 6], [7, 8]]

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-vstack-for-pr


# Commit to git

git add git commit -m "better docs for Matrix#vstack"


# 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-vstack-for-pr

hub pull-request


# Celebrate!