mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
571fb5b687
commit
d5f4a2ba12
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Jan 4 15:44:37 2016 Sho Hashimoto <sho-h@ruby-lang.org>
|
||||
|
||||
* variable.c (rb_mod_deprecate_constant): [DOC] added
|
||||
documentation for Module#deprecate_constant. [ci skip]
|
||||
|
||||
Mon Jan 4 15:36:38 2016 Sho Hashimoto <sho-h@ruby-lang.org>
|
||||
|
||||
* thread_sync.c: [DOC] remove SizedQueue#close argument.
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue