Skip to content

Commit 17f5871

Browse files
authored
Merge pull request #2799 from HoneyryderChuck/gzipe-writer-init
GzipWriter#initialize only takes 1 required positional arg
2 parents ccac66a + 9d233f7 commit 17f5871

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stdlib/zlib/0/gzip_writer.rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,6 @@ module Zlib
161161
# `:external_encoding`, `:internal_encoding` and `:encoding` may be set as in
162162
# IO::new.
163163
#
164-
def initialize: (_Writer io, Integer level, Integer strategy, **untyped opts) -> void
164+
def initialize: (_Writer io, ?Integer level, ?Integer strategy, **untyped opts) -> void
165165
end
166166
end

0 commit comments

Comments
 (0)