puppetlabs/puppetlabs-stdlib — pull request #68 by bobfeldbauer (2012-05-08 21:36:54+00:00)
Title: New function, delete_each, to support deleting each entry in an array from another array.

Add delete_each function to support deleting each entry in an array from another array. Usage: delete_each(original_array, to_delete_array)

Example: delete_each(['a','b','c', 'd'], ['b'. 'd'])
Would return: ['a', 'c']