delete item in array by index ruby code example Example: delete item from array in ruby a = [3, 2, 4, 6, 3, 8] a.delete(3)