Permalink
Browse files

Update SPEC

  • Loading branch information...
1 parent f5dfd34 commit 85312d6b51653db083c0b6ece10f008869244250 @raggi raggi committed May 23, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 SPEC
View
4 SPEC
@@ -3,7 +3,7 @@ can (and should) use Rack::Lint to enforce it.
When you develop middleware, be sure to add a Lint before and
after to catch all mistakes.
= Rack applications
-A Rack application is an Ruby object (not a class) that
+A Rack application is a Ruby object (not a class) that
responds to +call+.
It takes exactly one argument, the *environment*
and returns an Array of exactly three values:
@@ -106,7 +106,7 @@ The input stream must respond to +gets+, +each+, +read+ and +rewind+.
* +gets+ must be called without arguments and return a string,
or +nil+ on EOF.
* +read+ behaves like IO#read. Its signature is <tt>read([length, [buffer]])</tt>.
- If given, +length+ must be an non-negative Integer (>= 0) or +nil+, and +buffer+ must
+ If given, +length+ must be a non-negative Integer (>= 0) or +nil+, and +buffer+ must
be a String and may not be nil. If +length+ is given and not nil, then this method
reads at most +length+ bytes from the input stream. If +length+ is not given or nil,
then this method reads all data until EOF.

0 comments on commit 85312d6

Please sign in to comment.