cara menghapus elemen pertama dalam array ruby
a = [0,1,2,3]
a.shift
# => [1,2,3]
a
# => [1,2,3]
D734M37
a = [0,1,2,3]
a.shift
# => [1,2,3]
a
# => [1,2,3]