summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-20 17:15:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-20 17:15:37 +0000
commit0adce993578ca4c40afbbc04c5f4679561bd7861 (patch)
tree6efc88588c86b17d99123f49a3f5e8363d0f1264
parent94e97c898f165c88a874de0e941c7a54ff47a3e0 (diff)
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
-rw-r--r--ext/zlib/zlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index b08f429..516f62c 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)