diff options
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c index ab0cd7b592..f737973878 100644 --- a/variable.c +++ b/variable.c @@ -1895,7 +1895,7 @@ set_const_visibility(VALUE mod, int argc, VALUE *argv, rb_const_flag_t flag) 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++) { |