Actions
Feature #16018
openAdd a way to deprecate methods
Status:
Open
Assignee:
-
Target version:
-
Description
Since #11398, We have Module#deprecate_constant
available. But I wonder, why we don't have a way to deprecate methods? There is already Gem::Deprecate
1, so may be this could be extracted and made more generic?
This might be useful on several places in Ruby code:
$ find . -name \*.rb -type f -exec grep -r '[^_]warn.*deprecate' {} \; | wc -l
66
Actions
Like0
Like0Like0Like0