diff options
author | sho-h <sho-h@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-04 07:08:05 +0000 |
---|---|---|
committer | sho-h <sho-h@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-04 07:08:05 +0000 |
commit | d5f4a2ba12e910e6fb78ccd68df2bc33f7cff6c4 (patch) | |
tree | 44bbaa328f3a4918c8ffb4c06ec9fb1881edc34d /variable.c | |
parent | 571fb5b687c3435d19ab2480b7fe05998d573cc3 (diff) | |
download | ruby-d5f4a2ba12e910e6fb78ccd68df2bc33f7cff6c4.tar.gz |
variable.c (rb_mod_deprecate_constant): [DOC] added
documentation for Module#deprecate_constant. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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) { |