Method: Chef::Formatters::Base#deprecation
- Defined in:
- lib/chef/formatters/base.rb
#deprecation(deprecation, _location = nil) ⇒ Object
Log a deprecation warning object.
219 220 221 |
# File 'lib/chef/formatters/base.rb', line 219 def deprecation(deprecation, _location = nil) Chef::Log.deprecation(deprecation.to_s) unless deprecation.silenced? end |