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



241
242
243
# File 'lib/chef/deprecated.rb', line 241

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

#urlObject



237
238
239
# File 'lib/chef/deprecated.rb', line 237

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