aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-21 02:12:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-21 02:12:55 +0000
commit4f8e2a1e47776ebe83615853ecbcff2888ff9497 (patch)
treefecb318180f70d0fb0243d093129eb5d50cf42d8 /io.c
parentdb3d00b497153bd620867c3683b0a677b2c34a95 (diff)
downloadruby-4f8e2a1e47776ebe83615853ecbcff2888ff9497.tar.gz
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
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index f4cc940865..5508ec7a2b 100644
--- a/io.c
+++ b/io.c
@@ -12425,7 +12425,7 @@ Init_IO(void)
#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);