# File lib/fog/ecloud.rb, line 22 def self.keep(hash, *keys) {}.tap do |kept| keys.each{ |k| kept[k] = hash[k] if hash.key?(k) } end end