[前][次][番号順一覧][スレッド一覧]

ruby-changes:27687

From: shugo <ko1@a...>
Date: Wed, 13 Mar 2013 11:43:19 +0900 (JST)
Subject: [ruby-changes:27687] shugo:r39739 (trunk): * object.c (Init_Object): remove Module#used, which has been

shugo	2013-03-13 11:43:09 +0900 (Wed, 13 Mar 2013)

  New Revision: 39739

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39739

  Log:
    * object.c (Init_Object): remove Module#used, which has been
      introduced in Ruby 2.0 by mistake.  [Bug #7916] [ruby-core:52719]

  Modified files:
    trunk/ChangeLog
    trunk/object.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39738)
+++ ChangeLog	(revision 39739)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Mar 13 11:11:07 2013  Shugo Maeda  <shugo@r...>
+
+	* object.c (Init_Object): remove Module#used, which has been
+	  introduced in Ruby 2.0 by mistake.  [Bug #7916] [ruby-core:52719]
+
 Wed Mar 13 05:49:29 2013  Eric Hodel  <drbrain@s...>
 
 	* lib/irb.rb:  Fix typo
Index: object.c
===================================================================
--- object.c	(revision 39738)
+++ object.c	(revision 39739)
@@ -3030,7 +3030,6 @@ Init_Object(void) https://github.com/ruby/ruby/blob/trunk/object.c#L3030
     rb_define_private_method(rb_cModule, "included", rb_obj_dummy, 1);
     rb_define_private_method(rb_cModule, "extended", rb_obj_dummy, 1);
     rb_define_private_method(rb_cModule, "prepended", rb_obj_dummy, 1);
-    rb_define_private_method(rb_cModule, "used", rb_obj_dummy, 1);
     rb_define_private_method(rb_cModule, "method_added", rb_obj_dummy, 1);
     rb_define_private_method(rb_cModule, "method_removed", rb_obj_dummy, 1);
     rb_define_private_method(rb_cModule, "method_undefined", rb_obj_dummy, 1);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]