diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-07 20:35:59 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-07 20:35:59 +0000 |
commit | f6e2081c1610dc3eab3f37fcb9d6b43e68873ef2 (patch) | |
tree | d05c67e6ebcd4e0295c49aaeea0e6c60f96c0794 | |
parent | bd62d2a95ee0d237defe4a0fe584324b6cb4f0e8 (diff) | |
download | ruby-f6e2081c1610dc3eab3f37fcb9d6b43e68873ef2.tar.gz |
* 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-- | ChangeLog | 5 | ||||
-rw-r--r-- | object.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -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 @@ -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); |