From f6e2081c1610dc3eab3f37fcb9d6b43e68873ef2 Mon Sep 17 00:00:00 2001 From: drbrain Date: Mon, 7 May 2012 20:35:59 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ object.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9e24905633..2179103f95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue May 8 05:35:18 2012 Eric Hodel + + * 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 * lib/test/unit.rb (Test::Unit::Runner#output): prefer local output to diff --git a/object.c b/object.c index 3c4445cb59..7b48ebf234 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);