6 7 8
# File 'lib/flagsmith/hash_slice.rb', line 6 def slice(*keys) select { |key, _value| keys.include?(key) } end