From: nobu@... Date: 2016-04-29T14:27:02+00:00 Subject: [ruby-core:75252] [Ruby trunk Feature#10342][Closed] Module#deprecate_constant Issue #10342 has been updated by Nobuyoshi Nakada. Status changed from Open to Closed ---------------------------------------- Feature #10342: Module#deprecate_constant https://bugs.ruby-lang.org/issues/10342#change-58383 * Author: Nobuyoshi Nakada * Status: Closed * Priority: Normal * Assignee: Yukihiro Matsumoto ---------------------------------------- Proposal for `Module#deprecate_constant`, which marks constants referred by arguments as deprecated. ~~~ruby class C FOO = 1 deprecate_constant :FOO end C::FOO #=> warning: constant C::FOO is deprecated ~~~ https://github.com/nobu/ruby/compare/Module%23deprecate_constant -- https://bugs.ruby-lang.org/ Unsubscribe: