Update io.rb
Co-authored-by: Bo Anderson <mail@boanderson.me>
This commit is contained in:
parent
ddd28e52e7
commit
9b33210241
@ -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 = +""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user