fix typo in method name [ci skip]

This commit is contained in:
yuuji.yaginuma 2015-08-30 22:16:27 +09:00
parent fa9e4970ea
commit 341151da5b
1 changed files with 1 additions and 1 deletions

View File

@ -1029,7 +1029,7 @@ There are a couple of things to notice in the above example. We need to make
sure to close the response stream. Forgetting to close the stream will leave
the socket open forever. We also have to set the content type to `text/event-stream`
before we write to the response stream. This is because headers cannot be written
after the response has been committed (when `response.committed` returns a truthy
after the response has been committed (when `response.committed?` returns a truthy
value), which occurs when you `write` or `commit` the response stream.
#### Example Usage