summaryrefslogtreecommitdiff
path: root/ext/zlib/doc/zlib.rd
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zlib/doc/zlib.rd')
-rw-r--r--ext/zlib/doc/zlib.rd6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/zlib/doc/zlib.rd b/ext/zlib/doc/zlib.rd
index 6a36dc7fed..0a5e2d0abf 100644
--- a/ext/zlib/doc/zlib.rd
+++ b/ext/zlib/doc/zlib.rd
@@ -543,6 +543,12 @@ GzipReader should be used with associating an instance of IO class
must respond to flush method. While `sync' mode is true,
the compression ratio decreases sharply.
+--- Zlib::GzipFile#path
+
+ Returns the path string of the associated IO-like object. This
+ method is only defined when the IO-like object responds to
+ #path().
+
== Zlib::GzipFile::Error