Method: Chef::EventDispatch::Dispatcher#deprecation

Defined in:
lib/chef/event_dispatch/dispatcher.rb

#deprecation(message, location = ) ⇒ Object

Special case deprecation, since it needs to know its caller



50
51
52
# File 'lib/chef/event_dispatch/dispatcher.rb', line 50

def deprecation(message, location = caller(2..2)[0])
  enqueue(:deprecation, message, location)
end