Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

* 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
  • Loading branch information...
commit f6e2081c1610dc3eab3f37fcb9d6b43e68873ef2 1 parent bd62d2a
Eric Hodel authored May 07, 2012

Showing 2 changed files with 7 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  ChangeLog
  2. 4  object.c
5  ChangeLog
... ...
@@ -1,3 +1,8 @@
  1
+Tue May  8 05:35:18 2012  Eric Hodel  <drbrain@segment7.net>
  2
+
  3
+	* object.c (Init_Object):  Added reference to variable.c where
  4
+	  public_constant and private_constant documentation lives.  [#6381]
  5
+
1 6
 Tue May  8 04:47:44 2012  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2 7
 
3 8
 	* lib/test/unit.rb (Test::Unit::Runner#output): prefer local output to
4  object.c
@@ -2972,8 +2972,8 @@ Init_Object(void)
2972 2972
     rb_define_method(rb_cModule, "class_variable_get", rb_mod_cvar_get, 1);
2973 2973
     rb_define_method(rb_cModule, "class_variable_set", rb_mod_cvar_set, 2);
2974 2974
     rb_define_method(rb_cModule, "class_variable_defined?", rb_mod_cvar_defined, 1);
2975  
-    rb_define_method(rb_cModule, "public_constant", rb_mod_public_constant, -1);
2976  
-    rb_define_method(rb_cModule, "private_constant", rb_mod_private_constant, -1);
  2975
+    rb_define_method(rb_cModule, "public_constant", rb_mod_public_constant, -1); /* in variable.c */
  2976
+    rb_define_method(rb_cModule, "private_constant", rb_mod_private_constant, -1); /* in variable.c */
2977 2977
 
2978 2978
     rb_define_method(rb_cClass, "allocate", rb_obj_alloc, 0);
2979 2979
     rb_define_method(rb_cClass, "new", rb_class_new_instance, -1);

0 notes on commit f6e2081

Please sign in to comment.
Something went wrong with that request. Please try again.