extend/io: use typed: strict

Signed-off-by: Patrick Linnane <patrick@linnane.io>
This commit is contained in:
Patrick Linnane 2024-08-13 12:42:06 -06:00
parent 79d887afa2
commit ddd28e52e7
No known key found for this signature in database

View File

@ -1,7 +1,8 @@
# typed: true # rubocop:todo Sorbet/StrictSigil
# typed: strict
# frozen_string_literal: true
class IO
sig { params(sep: BasicObject).returns(String) }
def readline_nonblock(sep = $INPUT_RECORD_SEPARATOR)
line = +""
buffer = +""