select specific keys from hash ruby code example Example: ruby hash pick > { one: 1, two: 2, three: 3 }.slice(:one, :two) => {:one=>1, :two=>2}