From db41a18845d1578797a2b5baab6d9cbb76e29e42 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 24 May 2013 06:54:17 +0000 Subject: rename generic io modules * ext/io/console/console.c, ext/stringio/stringio.c: rename internally used modules as generic_readable and generic_writable. [Fix GH-315] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/io/console/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/io/console/console.c') diff --git a/ext/io/console/console.c b/ext/io/console/console.c index e1b515abdd..756daca9e2 100644 --- a/ext/io/console/console.c +++ b/ext/io/console/console.c @@ -803,7 +803,7 @@ InitVM_console(void) rb_define_method(rb_cIO, "ioflush", console_ioflush, 0); rb_define_singleton_method(rb_cIO, "console", console_dev, 0); { - VALUE mReadable = rb_define_module_under(rb_cIO, "readable"); + VALUE mReadable = rb_define_module_under(rb_cIO, "generic_readable"); rb_define_method(mReadable, "getch", io_getch, -1); } } -- cgit v1.2.3