Sha256: 9aa76d386f604de25cbf620dfd06ca093db0b3c0a1a988b73d242138da47b6c8
Contents?: true
Size: 331 Bytes
Versions: 1
Compression:
Stored size: 331 Bytes
Contents
class Hash alias :delete_single :delete def delete_multi(a0, *extras, &block) if extras.empty? || block_given? delete_single a0, *extras, &block else r = [ delete_single(a0) ] extras.each do |arg| r.push delete_single(arg) end r end end alias :delete :delete_multi end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vex-0.6.2 | lib/vex/boot/hash.rb |