elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby
Ruby
Ruby integrations for Elasticsearch
Matrix#empty?
Returns +true+ if this is an empty matrix, i.e. if the number of rows or the number of columns is 0.
Edit
git clone [email protected]:elastic/elasticsearch-ruby.git
cd elasticsearch-ruby
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Matrix-empty--for-pr
# Commit to gitgit add git commit -m "better docs for Matrix#empty?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Matrix-empty--for-pr
hub pull-request
# Celebrate!