summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zlib/zlib.c')
-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 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)