elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby
Ruby
Ruby integrations for Elasticsearch
Opal::ERB.compile
Compile ERB code into javascript.
[Opal::ERB] can be used to compile [ERB] templates into javascript code.
This module uses the [Opal::Compiler] internally.
Compiled templates, when run in a javascript environment, will appear
under the `Template` namespace, and can be accessed as:
Template['template_name'] # => template instanceEdit
git clone [email protected]:elastic/elasticsearch-ruby.git
cd elasticsearch-ruby
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Opal--ERB-compile-for-pr
# Commit to gitgit add git commit -m "better docs for Opal::ERB.compile"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Opal--ERB-compile-for-pr
hub pull-request
# Celebrate!