Skip to content

Commit

Permalink
Fix a typo in the spec (#2178)
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain committed May 10, 2024
1 parent e429991 commit 51e229f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions SPEC.rdoc
Expand Up @@ -165,8 +165,8 @@ The input stream must respond to +gets+, +each+, and +read+.
If +buffer+ is given, then the read data will be placed
into +buffer+ instead of a newly created String object.
* +each+ must be called without arguments and only yield Strings.
* +close+ can be called on the input stream to indicate that the
any remaining input is not needed.
* +close+ can be called on the input stream to indicate that
any remaining input is not needed.

=== The Error Stream

Expand Down
4 changes: 2 additions & 2 deletions lib/rack/lint.rb
Expand Up @@ -476,8 +476,8 @@ def each(*args)
}
end

## * +close+ can be called on the input stream to indicate that the
## any remaining input is not needed.
## * +close+ can be called on the input stream to indicate that
## any remaining input is not needed.
def close(*args)
@input.close(*args)
end
Expand Down

0 comments on commit 51e229f

Please sign in to comment.