elasticsearch-ruby

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

Ruby

Ruby integrations for Elasticsearch

Benchmark::Report#initialize

Returns an initialized Report instance.
Usually, one doesn't call this method directly, as new
Report objects are created by the #benchmark and #bm methods.
+width+ and +format+ are the label offset and
format string used by Tms#format.

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-Benchmark--Report-initialize-for-pr


# Commit to git

git add git commit -m "better docs for Benchmark::Report#initialize"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Benchmark--Report-initialize-for-pr

hub pull-request


# Celebrate!