Method: Chef::Mixin.deprecate_constant
- Defined in:
- lib/chef/mixin/deprecation.rb
.deprecate_constant(name, replacement, message) ⇒ Object
Add a deprecated constant to the Chef::Mixin namespace.
35 36 37 |
# File 'lib/chef/mixin/deprecation.rb', line 35 def self.deprecate_constant(name, replacement, ) deprecated_constants[name] = { replacement: replacement, message: } end |