From 3192a485d25f48e5c7492c953f181b7a373e4eaa Mon Sep 17 00:00:00 2001 From: knu Date: Wed, 22 Apr 2009 16:31:06 +0000 Subject: * ext/zlib/zlib.c (Zlib::GzipFile#path): New method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/zlib/doc/zlib.rd | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ext/zlib/doc') diff --git a/ext/zlib/doc/zlib.rd b/ext/zlib/doc/zlib.rd index 6a36dc7fe..0a5e2d0ab 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 -- cgit