jack jones wrote in post #1020055: > I've read about the method which inserts some element in a certain place > .. > what I wanted to do is to shift all the elements to the back .. not > inserting which will require rather complicated operation like deleting > the element after shifting it .... I really don't understand the line > you wrote, thank you :) It's pretty simple. It says, "Go to the position 2 in the array and insert the value 'red'. -- Posted via http://www.ruby-forum.com/.