Permalink
Browse files

Fix streaming example.

  • Loading branch information...
1 parent 8465d49 commit 6e00c57b224efedec0917696a872a1b658887c51 @rkh committed Sep 7, 2010
Showing with 5 additions and 3 deletions.
  1. +5 −3 README.rdoc
View
@@ -142,9 +142,11 @@ That way we can for instance easily implement a streaming example:
end
get '/' do
- Stream.new
- rescue StandardError
- [500, 'sorry, error']
+ begin
+ Stream.new
+ rescue StandardError
+ [500, 'sorry, error']
+ end
end
== Static Files

0 comments on commit 6e00c57

Please sign in to comment.