Merge pull request #18043 from Homebrew/io-typed-strict
This commit is contained in:
commit
d0d18a3ece
@ -1,7 +1,8 @@
|
|||||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
# typed: strict
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class IO
|
class IO
|
||||||
|
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