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