Skip to content

Commit

Permalink
Merge pull request soveran#12 from bemurphy/master
Browse files Browse the repository at this point in the history
fix typo in readme. req.write should be res.write.
  • Loading branch information
Cyril David committed Sep 17, 2012
2 parents 1478730 + af4bde5 commit c982756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ instances of [Rack::Request][request] and `Cuba::Response` respectively, and
[response]: http://rack.rubyforge.org/doc/classes/Rack/Response.html

Those objects are helpers for accessing the request and for building
the response. Most of the time, you will just use `req.write`.
the response. Most of the time, you will just use `res.write`.

If you want to use custom `Request` or `Response` objects, you can
set the new values as follows:
Expand Down

0 comments on commit c982756

Please sign in to comment.