Actions
Feature #10342
closedModule#deprecate_constant
Description
Proposal for Module#deprecate_constant
, which marks constants referred by arguments as deprecated.
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
Actions
Like0
Like0Like0Like0Like0Like0