diff options
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/variable.c b/variable.c index b0334618bf..047dbc7e67 100644 --- a/variable.c +++ b/variable.c @@ -2719,6 +2719,13 @@ rb_mod_public_constant(int argc, const VALUE *argv, VALUE obj) return obj; } +/* + * call-seq: + * mod.deprecate_constant(symbol, ...) => mod + * + * Makes a list of existing constants deprecated. + */ + VALUE rb_mod_deprecate_constant(int argc, const VALUE *argv, VALUE obj) { |