Parent

Methods

Files

Class/Module Index [+]

Quicksearch

Chef::Node::AttrArray

AttrArray

AttrArray is identical to Array, except that it keeps a reference to the "root" (Chef::Node::Attribute) object, and will trigger a cache invalidation on that object when mutated.

Constants

MUTATOR_METHODS

Attributes

root[R]

Public Class Methods

new(root, data) click to toggle source
# File lib/chef/node/attribute_collections.rb, line 74
def initialize(root, data)
  @root = root
  super(data)
end

Public Instance Methods

dup() click to toggle source
# File lib/chef/node/attribute_collections.rb, line 79
def dup
  Array.new(map {|e| e.dup})
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.