aboutsummaryrefslogtreecommitdiffstats
path: root/variable.c
diff options
context:
space:
mode:
authorsho-h <sho-h@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-04 07:08:05 +0000
committersho-h <sho-h@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-04 07:08:05 +0000
commitbfff498a9b3874ad02336d39737f390276b08c18 (patch)
tree44bbaa328f3a4918c8ffb4c06ec9fb1881edc34d /variable.c
parent5edfeaa0f2f3f4f2f6498aef0db89a97db272098 (diff)
downloadruby-bfff498a9b3874ad02336d39737f390276b08c18.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.c7
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)
{