Ruby assignment partly done