webmock
https://github.com/bblimke/webmock
Ruby
Library for stubbing and setting expectations on HTTP requests in Ruby.
WebMock::Config#allow_net_connect
Returns the value of attribute allow_net_connect
Edit
git clone [email protected]:bblimke/webmock.git
cd webmock
open lib/webmock/config.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-WebMock--Config-allow_net_connect-for-pr
# Commit to gitgit add lib/webmock/config.rbgit commit -m "better docs for WebMock::Config#allow_net_connect"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-WebMock--Config-allow_net_connect-for-pr
hub pull-request
# Celebrate!