From: Tomoyuki Chikanaga Date: 2010-10-27T22:30:16+09:00 Subject: [ruby-core:32919] [Ruby 1.9-Feature#3908] private constant Issue #3908 has been updated by Tomoyuki Chikanaga. I found a typo in error message in r29603. Index: variable.c =================================================================== --- variable.c (revision 29612) +++ variable.c (working copy) @@ -1895,7 +1895,7 @@ if (rb_safe_level() >= 4 && !OBJ_UNTRUSTED(mod)) { rb_raise(rb_eSecurityError, - "Insecure: can't change method visibility"); + "Insecure: can't change constant visibility"); } for (i = 0; i < argc; i++) { ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3908 ---------------------------------------- http://redmine.ruby-lang.org