ruby-changes:41357
From: sho-h <ko1@a...>
Date: Mon, 4 Jan 2016 16:07:59 +0900 (JST)
Subject: [ruby-changes:41357] sho-h:r53429 (trunk): variable.c (rb_mod_deprecate_constant): [DOC] added
sho-h 2016-01-04 16:08:05 +0900 (Mon, 04 Jan 2016) New Revision: 53429 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53429 Log: variable.c (rb_mod_deprecate_constant): [DOC] added documentation for Module#deprecate_constant. [ci skip] Modified files: trunk/ChangeLog trunk/variable.c Index: variable.c =================================================================== --- variable.c (revision 53428) +++ variable.c (revision 53429) @@ -2719,6 +2719,13 @@ rb_mod_public_constant(int argc, const V https://github.com/ruby/ruby/blob/trunk/variable.c#L2719 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) { Index: ChangeLog =================================================================== --- ChangeLog (revision 53428) +++ ChangeLog (revision 53429) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Jan 4 15:44:37 2016 Sho Hashimoto <sho-h@r...> + + * 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@r...> * thread_sync.c: [DOC] remove SizedQueue#close argument. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/