Permalink
Browse files

Fixed the formatting.

  • Loading branch information...
1 parent 0ca32dc commit 97f18ba8ad31b8454449f022a001f12034c747b6 @carlo committed Jan 10, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.markdown
View
@@ -14,14 +14,14 @@ will be raised.
## Examples
-1. Open an URL, retry up to two times when an `OpenURI::HTTPError` occurs.
+Open an URL, retry up to two times when an `OpenURI::HTTPError` occurs.
retryable( :tries => 3, :on => OpenURI:HTTPError ) do
xml = open( xml_url ).read
end
-2. Do _something_, retry up to four times for either `ArgumentError` or
- `TimeoutError` exceptions.
+Do _something_, retry up to four times for either `ArgumentError` or
+`TimeoutError` exceptions.
retryable( :tries => 5, :on => [ ArgumentError, TimeoutError ] ) do
# some crazy code

0 comments on commit 97f18ba

Please sign in to comment.