From 0adce993578ca4c40afbbc04c5f4679561bd7861 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 20 Dec 2016 17:15:37 +0000 Subject: rdoc for r57126 [ci skip] * ext/zlib/zlib.c: [DOC] update as keyword arguments. [Feature #13020] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/zlib/zlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index b08f4296e4..516f62c989 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -4282,7 +4282,7 @@ static ID id_level, id_strategy; /* * call-seq: - * Zlib.gzip(src, level=nil, strategy=nil) -> String + * Zlib.gzip(src, level: nil, strategy: nil) -> String * * Gzip the given +string+. Valid values of level are * Zlib::NO_COMPRESSION, Zlib::BEST_SPEED, Zlib::BEST_COMPRESSION, @@ -4290,7 +4290,7 @@ static ID id_level, id_strategy; * * This method is almost equivalent to the following code: * - * def gzip(string, level=nil, strategy=nil) + * def gzip(string, level: nil, strategy: nil) * sio = StringIO.new * sio.binmode * gz = Zlib::GzipWriter.new(sio, level, strategy) -- cgit v1.2.3