elasticsearch-ruby

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

Ruby

Ruby integrations for Elasticsearch

Opal::Nodes::XStringNode#unpack_return

A case for manually created :js_return statement in Compiler#returns
Since we need to take original source of :str we have to use raw source
so we need to combine "return" with "raw_source"

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--Nodes--XStringNode-unpack_return-for-pr


# Commit to git

git add git commit -m "better docs for Opal::Nodes::XStringNode#unpack_return"


# 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--Nodes--XStringNode-unpack_return-for-pr

hub pull-request


# Celebrate!