elasticsearch-ruby

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

Ruby

Ruby integrations for Elasticsearch

Opal::Compiler#with_temp

Temporary varibales will be needed from time to time in the
generated code, and this method will assign (or reuse) on
while the block is yielding, and queue it back up once it is
finished. Variables are queued once finished with to save the
numbers of variables needed at runtime.

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-Opal--Compiler-with_temp-for-pr


# Commit to git

git add git commit -m "better docs for Opal::Compiler#with_temp"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Opal--Compiler-with_temp-for-pr

hub pull-request


# Celebrate!