Method: Chef.set_node

Defined in:
lib/chef/chef_class.rb

.set_node(node) ⇒ 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 node object

Parameters:



151
152
153
# File 'lib/chef/chef_class.rb', line 151

def set_node(node)
  @node = node
end