diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-25 00:19:37 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-25 00:19:37 +0000 |
commit | 9af99106c1b9e0c0d06ba7879d813834f0564881 (patch) | |
tree | 766afcc6c4b8f5427c7119e2b6e276e428fc3cd3 /ext | |
parent | 421875eeffe50cd08952a19e292c28fa2ba864e6 (diff) | |
download | ruby-9af99106c1b9e0c0d06ba7879d813834f0564881.tar.gz |
* ext/zlib/zlib.c: Fix Document-method declarations. Improve
Zlib::GzipFile's method catalog. [Ruby 1.9 - Bug #4695]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/zlib/zlib.c | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index c41e4e29eb..a98f674556 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -2678,29 +2678,27 @@ get_gzfile(VALUE obj) * * == Method Catalogue * - * - wrap - * - open + * - ::wrap + * - ::open (Zlib::GzipReader::open and Zlib::GzipWriter::open) * - #close * - #closed? * - #comment - * - #comment= + * - comment= (Zlib::GzipWriter#comment=) * - #crc - * - #eof? + * - eof? (Zlib::GzipReader#eof?) * - #finish * - #level - * - #lineno - * - #lineno= + * - lineno (Zlib::GzipReader#lineno) + * - lineno= (Zlib::GzipReader#lineno=) * - #mtime - * - #mtime= + * - mtime= (Zlib::GzipWriter#mtime=) * - #orig_name - * - #orig_name= + * - orig_name (Zlib::GzipWriter#orig_name=) * - #os_code - * - #path + * - path (when the underlying IO supports #path) * - #sync * - #sync= * - #to_io - * - #total_in - * - #total_out * * (due to internal structure, documentation may appear under Zlib::GzipReader * or Zlib::GzipWriter) @@ -2899,7 +2897,7 @@ rb_gzfile_lineno(VALUE obj) } /* - * Document-method: Zlib::GzipFile#set_lineno + * Document-method: Zlib::GzipReader#lineno= * * Specify line number of the last row read from this file. */ @@ -2912,7 +2910,7 @@ rb_gzfile_set_lineno(VALUE obj, VALUE lineno) } /* - * Document-method: Zlib::GzipFile#set_mtime + * Document-method: Zlib::GzipWriter#mtime= * * Specify the modification time (+mtime+) in the gzip header. * Using a Fixnum or Integer @@ -2938,7 +2936,7 @@ rb_gzfile_set_mtime(VALUE obj, VALUE mtime) } /* - * Document-method: Zlib::GzipFile#set_orig_name + * Document-method: Zlib::GzipFile#orig_name= * * Specify the original name (+str+) in the gzip header. */ |