Skip to content

Commit

Permalink
Rack spec formatting improvement.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jun 3, 2023
1 parent 54990d3 commit c8e9822
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SPEC.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ must be opened in binary mode, for Ruby 1.9 compatibility.
The input stream must respond to +gets+, +each+, and +read+.
* +gets+ must be called without arguments and return a string,
or +nil+ on EOF.
* +read+ behaves like IO#read.
* +read+ behaves like <tt>IO#read</tt>.
Its signature is <tt>read([length, [buffer]])</tt>.

If given, +length+ must be a non-negative Integer (>= 0) or +nil+,
Expand Down
2 changes: 1 addition & 1 deletion lib/rack/lint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ def gets(*args)
v
end

## * +read+ behaves like IO#read.
## * +read+ behaves like <tt>IO#read</tt>.
## Its signature is <tt>read([length, [buffer]])</tt>.
##
## If given, +length+ must be a non-negative Integer (>= 0) or +nil+,
Expand Down

0 comments on commit c8e9822

Please sign in to comment.