remove first element array ruby code example Example: ruby delete first element of array a = [0,1,2,3] a.drop(1) # => [1, 2, 3] a # => [0,1,2,3]