Module: EC2::Host::HashUtil

Defined in:
lib/ec2/host/hash_util.rb

Class Method Summary (collapse)

Class Method Details

+ (Object) except(hash, *keys)



4
5
6
7
8
# File 'lib/ec2/host/hash_util.rb', line 4

def self.except(hash, *keys)
  hash = hash.dup
  keys.each {|key| hash.delete(key) }
  hash
end