You can use insert :

a = [1,2,3] a.insert(0,'x') => ['x',1,2,3]

Where the first argument is the index to insert at and the second is the value.