elasticsearch-ruby

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

Ruby

Ruby integrations for Elasticsearch

OpenURI::OpenRead#read

OpenURI::OpenRead#read([options]) reads a content referenced by self and
returns the content as string.
The string is extended with OpenURI::Meta.
The argument +options+ is same as OpenURI::OpenRead#open.

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-OpenURI--OpenRead-read-for-pr


# Commit to git

git add git commit -m "better docs for OpenURI::OpenRead#read"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-OpenURI--OpenRead-read-for-pr

hub pull-request


# Celebrate!