class Chef::Exceptions::ImmutableAttributeModification
Node::Attribute
computes the merged version of of attributes and makes it read-only. Attempting to modify a read-only attribute will cause this error.
Public Class Methods
Source
# File lib/chef/exceptions.rb, line 228 def initialize super "Node attributes are read-only when you do not specify which precedence level to set. " + %q{To set an attribute use code like `node.default["key"] = "value"'} end
Calls superclass method