summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-07 20:35:59 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-07 20:35:59 +0000
commitf6e2081c1610dc3eab3f37fcb9d6b43e68873ef2 (patch)
treed05c67e6ebcd4e0295c49aaeea0e6c60f96c0794
parentbd62d2a95ee0d237defe4a0fe584324b6cb4f0e8 (diff)
* object.c (Init_Object): Added reference to variable.c where
public_constant and private_constant documentation lives. [#6381] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--object.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9e249056332..2179103f951 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue May 8 05:35:18 2012 Eric Hodel <drbrain@segment7.net>
+
+ * object.c (Init_Object): Added reference to variable.c where
+ public_constant and private_constant documentation lives. [#6381]
+
Tue May 8 04:47:44 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/test/unit.rb (Test::Unit::Runner#output): prefer local output to
diff --git a/object.c b/object.c
index 3c4445cb597..7b48ebf2342 100644
--- a/object.c
+++ b/object.c
@@ -2972,8 +2972,8 @@ Init_Object(void)
rb_define_method(rb_cModule, "class_variable_get", rb_mod_cvar_get, 1);
rb_define_method(rb_cModule, "class_variable_set", rb_mod_cvar_set, 2);
rb_define_method(rb_cModule, "class_variable_defined?", rb_mod_cvar_defined, 1);
- rb_define_method(rb_cModule, "public_constant", rb_mod_public_constant, -1);
- rb_define_method(rb_cModule, "private_constant", rb_mod_private_constant, -1);
+ rb_define_method(rb_cModule, "public_constant", rb_mod_public_constant, -1); /* in variable.c */
+ rb_define_method(rb_cModule, "private_constant", rb_mod_private_constant, -1); /* in variable.c */
rb_define_method(rb_cClass, "allocate", rb_obj_alloc, 0);
rb_define_method(rb_cClass, "new", rb_class_new_instance, -1);