I though that it could be used for example in thumbnails.
Like you define a scale for a thumbnail, give it a name like :
thumbnail_scale
and then use it all over the place ... in all the haml templates that
include thumbnails.

On Dec 19, 2007 11:42 AM, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:

>
> Evgeny: Yeah, cool idea. Implemented in trunk. Thanks.
>
> Mislav: Just think of it as passing arguments to a *arg for a method.
> That's actually how I implemented it, so it's a good conceptual model.
>
> - Nathan
>
> Mislav Marohnić wrote:
> > Nice idea. The syntax could be different, though, because I don't want
> > to feel like I'm writing invalid Ruby ...
> >
> > On Dec 19, 2007 1:38 AM, Evgeny < [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     Actually, this might already be implemented .. but it's 2:40am and
> >     I have this idea ..
> >
> >     Flatten of hashes that come from helpers. And merging them or
> >     something.
> >
> >     Like in this example, both hashes are merged into one haml "hash" :
> >     http://pastie.caboo.se/130307
> >
> >
> >     - evgeny
> >
> >
> >
> >
> > >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to