Answers for "ruby remove first element from enumerator"

0

ruby delete first element of array

a = [0,1,2,3]

a.drop(1)
# => [1, 2, 3] 

a
# => [0,1,2,3]
Posted by: Guest on March-14-2021

Code answers related to "ruby remove first element from enumerator"

Browse Popular Code Answers by Language