elasticsearch-ruby

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

Ruby

Ruby integrations for Elasticsearch

Matrix#clone

Returns a clone of the matrix, so that the contents of each do not reference
identical objects.
There should be no good reason to do this since Matrices are immutable.

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


# Commit to git

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


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

hub pull-request


# Celebrate!