class Chef::Node::AttributeDoesNotExistError

Public Class Methods

new(keys, key) click to toggle source
Calls superclass method
# File lib/chef/sugar/node.rb, line 22
      def initialize(keys, key)
        hash = keys.map { |key| "['#{key}']" }

        super <<-EOH
No attribute `node#{hash.join}' exists on
the current node. Specifically the `#{key}' attribute is not
defined. Please make sure you have spelled everything correctly.
EOH
      end