ruby-changes:36641
From: nobu <ko1@a...>
Date: Sat, 6 Dec 2014 05:43:54 +0900 (JST)
Subject: [ruby-changes:36641] nobu:r48722 (trunk): io.c: fix rdoc [ci skip]
nobu 2014-12-06 05:43:47 +0900 (Sat, 06 Dec 2014) New Revision: 48722 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48722 Log: io.c: fix rdoc [ci skip] * io.c (Init_IO): ARGF is not a class. Modified files: trunk/io.c Index: io.c =================================================================== --- io.c (revision 48721) +++ io.c (revision 48722) @@ -12293,7 +12293,7 @@ Init_IO(void) https://github.com/ruby/ruby/blob/trunk/io.c#L12293 #if 0 /* Hack to get rdoc to regard ARGF as a class: */ - rb_cARGF = rb_define_class("ARGF", rb_cObject); + rb_cARGF = rb_define_class("ARGF.class", rb_cObject); #endif rb_cARGF = rb_class_new(rb_cObject); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/