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