ruby-changes:43021
From: nobu <ko1@a...>
Date: Sat, 21 May 2016 11:13:00 +0900 (JST)
Subject: [ruby-changes:43021] nobu:r55095 (trunk): Restore documentation of ARGF
nobu 2016-05-21 11:12:55 +0900 (Sat, 21 May 2016) New Revision: 55095 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55095 Log: Restore documentation of ARGF * io.c (Init_IO): [DOC] define dummy ARGF instead of ARGF.class to re-enable the generation of ARGF documentation. [Fix GH-1358] Modified files: trunk/ChangeLog trunk/io.c Index: ChangeLog =================================================================== --- ChangeLog (revision 55094) +++ ChangeLog (revision 55095) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat May 21 11:12:53 2016 Dan Martinez <dfm@r...> + + * io.c (Init_IO): [DOC] define dummy ARGF instead of ARGF.class to + re-enable the generation of ARGF documentation. [Fix GH-1358] + Sat May 21 11:07:29 2016 0x01f7 <souk.0x01f7@g...> * doc/syntax/methods.rdoc (Method Names): add proper closing tag. Index: io.c =================================================================== --- io.c (revision 55094) +++ io.c (revision 55095) @@ -12425,7 +12425,7 @@ Init_IO(void) https://github.com/ruby/ruby/blob/trunk/io.c#L12425 #if 0 /* Hack to get rdoc to regard ARGF as a class: */ - rb_cARGF = rb_define_class("ARGF.class", rb_cObject); + rb_cARGF = rb_define_class("ARGF", rb_cObject); #endif rb_cARGF = rb_class_new(rb_cObject); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/