Luiz Vitor Martinez Cardoso
8/17/2008 2:13:00 PM
Philp,
I really know!
Thanks,
On Sun, Aug 17, 2008 at 10:11 AM, Phlip <phlip2005@gmail.com> wrote:
> @id =3D case when @recipes.length =3D=3D i + 1: 0; when i.remainder(2) =
=3D=3D 1: 1;
>> else 2 end
>>
>> Although I admit that I'd rather have it on several lines
>>
>
> I suspect the original posted might not know you can write a multi-line
> <% erb %> block! Some sample code puts a different <% %> on each line,
> like the original post did...
>
>
>
--=20
Regards,
Luiz Vitor Martinez Cardoso
cel.: (11) 8187-8662
blog: rubz.org
engineer student at maua.br
"Posso nunca chegar a ser o melhor engenheiro do mundo, mas tenha certeza d=
e
que eu vou lutar com todas as minhas for=E7as para ser o melhor engenheiro =
que
eu puder ser"