Method: Chef::Provider#load_current_resource

Defined in:
lib/chef/provider.rb

#load_current_resourceObject

a simple placeholder method that will be called / raise if a resource tries to use current_resource without defining a load_current_resource method.



185
186
187
# File 'lib/chef/provider.rb', line 185

def load_current_resource
  raise Chef::Exceptions::Override, "You must override load_current_resource in #{self}"
end