From 9af99106c1b9e0c0d06ba7879d813834f0564881 Mon Sep 17 00:00:00 2001 From: drbrain Date: Wed, 25 May 2011 00:19:37 +0000 Subject: * 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 --- ChangeLog | 5 +++++ ext/zlib/zlib.c | 26 ++++++++++++-------------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 18da7c7543..e1ca3dde44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed May 25 09:19:17 2011 Eric Hodel + + * ext/zlib/zlib.c: Fix Document-method declarations. Improve + Zlib::GzipFile's method catalog. [Ruby 1.9 - Bug #4695] + Wed May 25 08:22:12 2011 Eric Hodel * lib/erb.rb: Hide documentation for implementation details of ERB. 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. */ -- cgit v1.2.3