Class: Chef::Deprecated::Generic

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

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

Constructor Details

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

Instance Method Details

#to_sObject


261
262
263
# File 'lib/chef/deprecated.rb', line 261

def to_s
  "Deprecation from #{location}\n\n  #{message}\n\n#{link}"
end

#urlObject


257
258
259
# File 'lib/chef/deprecated.rb', line 257

def url
  "https://docs.chef.io/chef_deprecations_client/"
end