Method: Chef::Node::Attribute#reset_cache

Defined in:
lib/chef/node/attribute.rb

#reset_cacheObject Also known as: reset

Clears merged_attributes, which will cause it to be recomputed on the next access.



247
248
249
250
251
252
# File 'lib/chef/node/attribute.rb', line 247

def reset_cache
  @merged_attributes = nil
  @combined_default  = nil
  @combined_override = nil
  @set_unless_present = false
end