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
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class IO
|
class IO
|
||||||
sig { params(sep: BasicObject).returns(String) }
|
sig { params(sep: String).returns(String) }
|
||||||
def readline_nonblock(sep = $INPUT_RECORD_SEPARATOR)
|
def readline_nonblock(sep = $INPUT_RECORD_SEPARATOR)
|
||||||
line = +""
|
line = +""
|
||||||
buffer = +""
|
buffer = +""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user