webmock

https://github.com/bblimke/webmock

Ruby

Library for stubbing and setting expectations on HTTP requests in Ruby.

WebMock::HashValidator#validate_keys

This code is based on https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/hash/keys.rb

Source | Google | Stack overflow

Edit

git clone [email protected]:bblimke/webmock.git

cd webmock

open lib/webmock/util/hash_validator.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-WebMock--HashValidator-validate_keys-for-pr


# Commit to git

git add lib/webmock/util/hash_validator.rbgit commit -m "better docs for WebMock::HashValidator#validate_keys"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-WebMock--HashValidator-validate_keys-for-pr

hub pull-request


# Celebrate!