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