summaryrefslogtreecommitdiff
path: root/spec/spec.opts
diff options
context:
space:
mode:
authorJoshua Harlan Lifton <lifton@puppetlabs.com>2012-11-17 22:27:15 -0800
committerJeff McCune <jeff@puppetlabs.com>2012-11-19 08:44:44 -0500
commit7322e4dc2f8dc831097d2b0fa3768df0689acfa2 (patch)
tree9c583ad535b007866573d48f2d426f5e866eed3c /spec/spec.opts
parent0798059361cd79991220ff997529593a4cb43a0e (diff)
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.
Diffstat (limited to 'spec/spec.opts')
0 files changed, 0 insertions, 0 deletions