summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/delete.rb
AgeCommit message (Collapse)Author
2012-11-19Extend delete function for strings and hashesJoshua Harlan Lifton
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.
2011-07-29(#3) Provide documentation for remaining functions.Ken Barber
2011-06-29Add some more functional tests.Ken Barber
2011-06-29Added tests for each function, fixing functions as we hit bugs.Ken Barber
2011-04-30Moved more functions into lib/puppet/parser/functions/Ken Barber