On 02.12.2008 02:33, equinox wrote: > I have a here documents of something like this: > > form = <<"DONE" > > while( bla ..bla .. bla) do > > this > > DONE > > > How can I do a while loop inside a here documents in ruby? Is it > possible? What exactly are you trying to achieve? Do you want to have repeated content from the here doc? robert