Method: Chef.reset!

Defined in:
lib/chef/chef_class.rb

.reset!Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Resets the internal state



169
170
171
172
173
174
175
176
# File 'lib/chef/chef_class.rb', line 169

def reset!
  @run_context = nil
  @node = nil
  @provider_priority_map = nil
  @resource_priority_map = nil
  @provider_handler_map = nil
  @resource_handler_map = nil
end