Skip to content

Commit 83e63f4

Browse files
Update SPEC.rdoc
Co-authored-by: Jeremy Evans <code@jeremyevans.net>
1 parent c657d7c commit 83e63f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SPEC.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ If the Body responds to +to_path+, it must return either +nil+ or a +String+. If
239239

240240
==== Enumerable Body
241241

242-
The Enumerable Body must respond to +each+. It must only be consumed once (calling this method consumes the body). It must not be called after being closed, and must only yield +String+ values.
242+
The Enumerable Body must respond to +each+, which must not be called more than once, and must not be called after being closed. The +each+ method must only yield +String+ values.
243243

244244
Middleware must not call +each+ directly on the Body. Instead, middleware can return a new Body that calls +each+ on the original Body, yielding at least once per iteration.
245245

0 commit comments

Comments
 (0)