puppetlabs-stdlib/spec/unit/puppet/parser
Joshua Harlan Lifton 7322e4dc2f Extend delete function for strings and hashes
Previous to this commit, the delete function only acted on
arrays. This commit adds the same functionality for hashes and strings
in the obvious way: delete(h, k) would delete the k key from the h
hash and delete(s, sub) would delete all instances of the sub
substring from the s string.
2012-11-19 08:44:44 -05:00
..
functions Extend delete function for strings and hashes 2012-11-19 08:44:44 -05:00