Method: Puppet::Provider::ParsedFile.clean
- Defined in:
- lib/vendor/puppet/provider/parsedfile.rb
.clean(hash) ⇒ Object
22 23 24 25 26 27 28 29 |
# File 'lib/vendor/puppet/provider/parsedfile.rb', line 22 def self.clean(hash) newhash = hash.dup [:record_type, :on_disk].each do |p| newhash.delete(p) if newhash.include?(p) end newhash end |