[前][次][番号順一覧][スレッド一覧]

ruby-changes:14587

From: naruse <ko1@a...>
Date: Tue, 26 Jan 2010 22:38:22 +0900 (JST)
Subject: [ruby-changes:14587] Ruby:r26430 (ruby_1_8): * ext/zlib/zlib.c (rb_gzfile_s_wrap): add rdoc. [Bug #2656]

naruse	2010-01-26 22:33:03 +0900 (Tue, 26 Jan 2010)

  New Revision: 26430

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26430

  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:
    branches/ruby_1_8/ext/zlib/zlib.c

Index: ruby_1_8/ext/zlib/zlib.c
===================================================================
--- ruby_1_8/ext/zlib/zlib.c	(revision 26429)
+++ ruby_1_8/ext/zlib/zlib.c	(revision 26430)
@@ -2336,12 +2336,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(argc, argv, klass)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]