mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
bd62d2a95e
commit
f6e2081c16
2 changed files with 7 additions and 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
|
||||
|
|
4
object.c
4
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);
|
||||
|
|
Loading…
Reference in a new issue