Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplify streaming example.

  • Loading branch information...
commit 9cbaa8cafe5ae29b28b831e6de712251c970c915 1 parent 02fe9c9
@rkh 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
Please sign in to comment.
Something went wrong with that request. Please try again.