Browse files

Formatting enhancements for the README

  • Loading branch information...
1 parent 2cdd385 commit 083424e9d57d28cf81e1dc18c456f2ed548d9a22 @ph7 ph7 committed Jan 20, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.markdown
@@ -23,6 +23,9 @@ Usage
+ 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.
@@ -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`)

0 comments on commit 083424e

Please sign in to comment.