ruby = %w(test yes no lets be out )
p ruby

結果

.values_at(1,3,5)
指定した要素だけを抜いて配列を作る

["test","yes","no","lets","be","out"]