From: Gunther Diemant Date: 2011-03-19T00:09:22+09:00 Subject: Re: Array range values assignment --e0cb4e3855347b1ee4049ec329f9 Content-Type: text/plain; charset=ISO-8859-1 Just a[3...7] = ['B','B','B','B']. Works at least in 1.9.2. 2011/3/18 Ruby Fan > a = ["A","A","A","A","A", "A","A","A","A","A"] > a[3...7] = "B" > > QUESTION: > after code executes a = ["A", "A", "A", "B", "A", "A", "A"] > what should I do to make a = ["A", "A", "A", "B", "B", "B", "B", "A", > "A", "A"] > > -- > Posted via http://www.ruby-forum.com/. > > --e0cb4e3855347b1ee4049ec329f9--