Update io.rb

Co-authored-by: Bo Anderson <mail@boanderson.me>
This commit is contained in:
Patrick Linnane 2024-08-13 13:30:49 -06:00 committed by GitHub
parent ddd28e52e7
commit 9b33210241
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
# frozen_string_literal: true
class IO
sig { params(sep: BasicObject).returns(String) }
sig { params(sep: String).returns(String) }
def readline_nonblock(sep = $INPUT_RECORD_SEPARATOR)
line = +""
buffer = +""