ExtremeTimeout
Do it in 40 seconds, or die.
require 'extreme_timeout'
ExtremeTimeout::timeout(40) do
do_something
end
Installation
Add this line to your application's Gemfile:
gem 'extreme_timeout'
And then execute:
$ bundle
Or install it yourself as:
$ gem install extreme_timeout
Usage
TODO: Write usage instructions here
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request