webmock

https://github.com/bblimke/webmock

Ruby

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

URLValidator#valid_url_host?

No Docs, write some!

Source | Google | Stack overflow

Edit

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

cd webmock

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-URLValidator-valid_url_host--for-pr


# Commit to git

git add git commit -m "better docs for URLValidator#valid_url_host?"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-URLValidator-valid_url_host--for-pr

hub pull-request


# Celebrate!