Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Simplify streaming example.

  • Loading branch information...
commit 8fbd9c210546e7a43bee64b6d159b663e28bf331 1 parent 6e00c57
@rkh authored
Showing with 1 addition and 7 deletions.
  1. +1 −7 README.rdoc
View
8 README.rdoc
@@ -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.
Something went wrong with that request. Please try again.