diff options
Diffstat (limited to 'lib/webrick/cgi.rb')
-rw-r--r-- | lib/webrick/cgi.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/webrick/cgi.rb b/lib/webrick/cgi.rb index ff140ca84e..8e43ac570e 100644 --- a/lib/webrick/cgi.rb +++ b/lib/webrick/cgi.rb @@ -196,8 +196,8 @@ module WEBrick [nil, @server_port, @server_name, @server_addr] end - def gets(eol=LF) - input.gets(eol) + def gets(eol=LF, size=nil) + input.gets(eol, size) end def read(size=nil) |