Method: Chef::Node#each

Defined in:
lib/chef/node.rb

#each(&block) ⇒ Object

Yield each key of the top level to the block.



231
232
233
234
# File 'lib/chef/node.rb', line 231

def each(&block)
  attrs = Chef::Node::Attribute.new(@attribute, @default_attrs, @override_attrs)
  attrs.each(&block)
end