Permalink
Browse files

Simplify streaming example.

  • Loading branch information...
1 parent 6e00c57 commit 8fbd9c210546e7a43bee64b6d159b663e28bf331 @rkh committed Sep 7, 2010
Showing with 1 addition and 7 deletions.
  1. +1 −7 README.rdoc
View
@@ -141,13 +141,7 @@ That way we can for instance easily implement a streaming example:
end
end
- get '/' do
- begin
- Stream.new
- rescue StandardError
- [500, 'sorry, error']
- end
- end
+ get('/') { Stream.new }
== Static Files

0 comments on commit 8fbd9c2

Please sign in to comment.