Method: Chef.set_run_context

Defined in:
lib/chef/chef_class.rb

.set_run_context(run_context) ⇒ 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.

Sets the run_context object

Parameters:



161
162
163
# File 'lib/chef/chef_class.rb', line 161

def set_run_context(run_context)
  @run_context = run_context
end