Permalink
Browse files

Doc fix, Request should have been Reponse

Thanks, apeiros

darcs-hash:20070324143650-4fc50-d15308b31a88791774bf9b09a268da80a70097ae.gz
  • Loading branch information...
chneukirchen committed Mar 24, 2007
1 parent b96eda0 commit 2800d6069820e91c6a6c63a02ee9432176bfeedd
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/rack/response.rb
View
@@ -2,18 +2,18 @@
require 'rack/utils'
module Rack
- # Rack::Request provides a convenient interface to create a Rack
+ # Rack::Response provides a convenient interface to create a Rack
# response.
#
# It allows setting of headers and cookies, and provides useful
# defaults (a OK response containing HTML).
#
- # You can use Request#write to iteratively generate your response,
- # but note that this is buffered by Rack::Request until you call
+ # You can use Response#write to iteratively generate your response,
+ # but note that this is buffered by Rack::Response until you call
# +finish+. +finish+ however can take a block inside which calls to
# +write+ are syncronous with the Rack response.
#
- # Your application's +call+ should end returning Request#finish.
+ # Your application's +call+ should end returning Response#finish.
class Response
def initialize(body=[], status=200, header={}, &block)

0 comments on commit 2800d60

Please sign in to comment.