ruby 1 into 3 lines