Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Salazar committed Jul 1, 2014
1 parent da37438 commit 87ba4d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ These apply to both `.def_retry` and `#retry`:
- `:on`: a single class or an array of exception classes to be rescued
- `:tries`: Integer number of maximum retries to run. DefRetry will stop retrying if the retry count reaches this number
- `:sleep`: Either a Proc that receives the current try count as its only argument or a Symbol naming one of these sleep strategies: constant, linear, exponential (see: `DefRetry::Retrier::SLEEP_STRATEGIES`)
- `:on_retry`: a callback to run everytime a retry happens i.e. the specified expception(s) are rescued
- `:on_ensure`: "a callback to run at the end before returning the block's value"
- `:on_retry`: a callback to run everytime a retry happens i.e. the specified exception(s) are rescued
- `:on_ensure`: a callback to run at the end before returning the block's value

## Contributing

Expand Down

0 comments on commit 87ba4d6

Please sign in to comment.