summaryrefslogtreecommitdiff
path: root/ext/zlib/doc/zlib.rd
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-22 16:31:06 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-22 16:31:06 +0000
commit2bb576e5acc2120123ed33b00391c3226baae3bd (patch)
treea6b370f42b1e910d78c50a0035eb1909f08ef93a /ext/zlib/doc/zlib.rd
parent5f956fda430e87305bb21e48fddbea1892bbd633 (diff)
* ext/zlib/zlib.c (Zlib::GzipFile#path): New method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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