summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorsho-h <sho-h@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-04 07:08:05 (GMT)
committersho-h <sho-h@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-04 07:08:05 (GMT)
commitd5f4a2ba12e910e6fb78ccd68df2bc33f7cff6c4 (patch)
tree44bbaa328f3a4918c8ffb4c06ec9fb1881edc34d /variable.c
parent571fb5b687c3435d19ab2480b7fe05998d573cc3 (diff)
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 b033461..047dbc7 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)
{