Class: Chef::Deprecated::Property

Inherits:
Base
  • Object
show all
Defined in:
lib/chef/deprecated.rb

Overview

Returned when using the deprecated option on a property

Constant Summary

Constants inherited from Base

Base::BASE_URL

Instance Attribute Summary

Attributes inherited from Base

#location, #message

Instance Method Summary collapse

Methods inherited from Base

deprecation_key, #initialize, #link, #silenced?, target, #url

Constructor Details

This class inherits a constructor from Chef::Deprecated::Base

Instance Method Details

#to_sObject



221
222
223
# File 'lib/chef/deprecated.rb', line 221

def to_s
  "Deprecated resource property used from #{location}\n\n  #{message}\n\nPlease consult the resource documentation for more information."
end