elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby
Ruby
Ruby integrations for Elasticsearch
Observable#notify_observers
Notify observers of a change in state *if* this object's changed state is +true+. This will invoke the method named in #add_observer, passing <tt>*arg</tt>. The changed state is then set to +false+. <tt>*arg</tt>:: Any arguments to pass to the observers.
Edit
git clone [email protected]:elastic/elasticsearch-ruby.git
cd elasticsearch-ruby
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Observable-notify_observers-for-pr
# Commit to gitgit add git commit -m "better docs for Observable#notify_observers"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Observable-notify_observers-for-pr
hub pull-request
# Celebrate!