summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/has_ip_network.rb
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 /lib/puppet/parser/functions/has_ip_network.rb
parent0798059361cd79991220ff997529593a4cb43a0e (diff)
downloadpuppet-stdlib-7322e4dc2f8dc831097d2b0fa3768df0689acfa2.tar.gz
puppet-stdlib-7322e4dc2f8dc831097d2b0fa3768df0689acfa2.tar.bz2
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 'lib/puppet/parser/functions/has_ip_network.rb')
0 files changed, 0 insertions, 0 deletions