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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d70a84d5d4
commit
b3901a20a4
@ -1,3 +1,8 @@
|
|||||||
|
Sat May 21 11:12:53 2016 Dan Martinez <dfm@razorwind.org>
|
||||||
|
|
||||||
|
* 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@gmail.com>
|
Sat May 21 11:07:29 2016 0x01f7 <souk.0x01f7@gmail.com>
|
||||||
|
|
||||||
* doc/syntax/methods.rdoc (Method Names): add proper closing tag.
|
* doc/syntax/methods.rdoc (Method Names): add proper closing tag.
|
||||||
|
2
io.c
2
io.c
@ -12425,7 +12425,7 @@ Init_IO(void)
|
|||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* Hack to get rdoc to regard ARGF as a class: */
|
/* 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
|
#endif
|
||||||
|
|
||||||
rb_cARGF = rb_class_new(rb_cObject);
|
rb_cARGF = rb_class_new(rb_cObject);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user