ruby-changes:14586
From: naruse <ko1@a...>
Date: Tue, 26 Jan 2010 22:36:08 +0900 (JST)
Subject: [ruby-changes:14586] Ruby:r26429 (trunk): * ext/zlib/zlib.c (rb_gzfile_s_wrap): add rdoc. [Bug #2656]
naruse 2010-01-26 22:31:12 +0900 (Tue, 26 Jan 2010) New Revision: 26429 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26429 Log: * ext/zlib/zlib.c (rb_gzfile_s_wrap): add rdoc. [Bug #2656] patched by Hugh Sasse [ruby-core:27692] [ruby-core:27852] Modified files: trunk/ChangeLog trunk/ext/zlib/zlib.c Index: ChangeLog =================================================================== --- ChangeLog (revision 26428) +++ ChangeLog (revision 26429) @@ -27,13 +27,13 @@ Tue Jan 26 20:21:28 2010 Masatoshi SEKI <m_seki@m...> * lib/drb/eq.rb: fix circular requrie in drb. - reported by akr. see [ruby-dev:40156] [ruby-core:27661] + reported by akr. see [ruby-dev:40156] [ruby-core:27661] Tue Jan 26 19:59:17 2010 NARUSE, Yui <naruse@r...> - * ext/zlib/zlib.c (rb_gzfile_s_wrap): add rdoc. - patched by Hugh Sasse [ruby-core:27692] + * ext/zlib/zlib.c (rb_gzfile_s_wrap): add rdoc. [Bug #2656] + patched by Hugh Sasse [ruby-core:27692] [ruby-core:27852] * ext/zlib/doc/zlib.rd: removed. Index: ext/zlib/zlib.c =================================================================== --- ext/zlib/zlib.c (revision 26428) +++ ext/zlib/zlib.c (revision 26429) @@ -2420,12 +2420,14 @@ } /* - * Creates a GzipFile object associated with ((|io|)), and + * call-seq: Zlib::GzipFile.wrap(io) { |gz| ... } + * + * Creates a GzipFile object associated with +io+, and * executes the block with the newly created GzipFile object, * just like File.open. The GzipFile object will be closed * automatically after executing the block. If you want to keep * the associated IO object opening, you may call - * ((<Zlib::GzipFile#finish>)) method in the block. + * +Zlib::GzipFile#finish+ method in the block. */ static VALUE rb_gzfile_s_wrap(int argc, VALUE *argv, VALUE klass) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/