Skip to content

Commit

Permalink
Formatting enhancements for the README
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippe Hanrigou committed Jan 20, 2010
1 parent 2cdd385 commit 083424e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.markdown
Expand Up @@ -23,6 +23,9 @@ Usage

end

Timeouts as Floats
------------------

You can use a floating point number when specifying the timeout in
seconds but SystemTimer will not allow you to go below 200ms, e.g.

Expand All @@ -38,6 +41,9 @@ Usage
able to reliably guarantee a sub-second timeout on all platforms,
so your mileage may vary when specifying timeouts under one second.

Custom Tiemout Exceptions
-------------------------

You can also use a custom timeout exception to be raised on timeouts (to
avoid interference with other libraries using `Timeout::Error` -- e.g. `Net::HTTP`)

Expand Down

0 comments on commit 083424e

Please sign in to comment.