Method: Chef::Node::Attribute#has_key?
- Defined in:
- lib/chef/node/attribute.rb
#has_key?(key) ⇒ Boolean Also known as: attribute?, member?, include?, key?
446 447 448 449 450 |
# File 'lib/chef/node/attribute.rb', line 446 def has_key?(key) COMPONENTS.any? do |component_ivar| instance_variable_get(component_ivar).key?(key) end end |