Method: Chef.node

Defined in:
lib/chef/chef_class.rb

.nodeChef::Node (readonly)

Get the node object

Returns:

  • node object of the chef-client run



48
49
50
# File 'lib/chef/chef_class.rb', line 48

def node
  @node
end