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



271
272
273
# File 'lib/chef/deprecated.rb', line 271

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

#urlObject



267
268
269
# File 'lib/chef/deprecated.rb', line 267

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