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