Hi rouffj,
Nice patch, but I think the option will obfuscate rather than clarify.
Simply using a conditional here is appropriate and clear, not verbose or hard.
Best,
jeremy
Em 13-09-2009 12:40, Chris escreveu:
> I like the idea of being able to render a collection in one line and I
> too find it a bit clunky to include the conditional and literal
> content for the blank condition alongside the 99% case.
>
> +1 for :if_blank
>
> -Chris
>
> On Sep 12, 6:15 am, rouffj<rou...@gmail.com> wrote:
>
>> Thanks guys for your suggestions. I Think that i'll adopt :if_blank
>> option name.
>>
>> Thanks again.
>>
>> Anyone has other ideas ?
>>
>> On Sep 12, 4:33 am, Trek Glowacki<trek.glowa...@gmail.com> wrote:
>>
...