class Chef::Knife::Scrub::AttributeExtractor::Simple
Public Instance Methods
delete(path)
click to toggle source
# File lib/chef/knife/scrub/attribute_extractor.rb, line 82 def delete(path) base, key = extract(attributes, path) base.delete(key) end
fetch(path)
click to toggle source
# File lib/chef/knife/scrub/attribute_extractor.rb, line 77 def fetch(path) base, key = extract(attributes, path) base.fetch(key) end
has_key?(path)
click to toggle source
# File lib/chef/knife/scrub/attribute_extractor.rb, line 72 def has_key?(path) base, key = extract(attributes, path) !base.nil? && base.has_key?(key) end