diff --git a/core/io.rbs b/core/io.rbs index 9ee8110d53..afa04fb6c0 100644 --- a/core/io.rbs +++ b/core/io.rbs @@ -3148,8 +3148,8 @@ class IO < Object # # Returns an Enumerator if no block is given. # - def each_line: (?String sep, ?Integer limit) { (String line) -> void } -> self - | (?String sep, ?Integer limit) -> ::Enumerator[String, self] + def each_line: (?String sep, ?Integer limit, ?chomp: boolish) { (String line) -> void } -> self + | (?String sep, ?Integer limit, ?chomp: boolish) -> ::Enumerator[String, self] #