>  It's not expected as such, but it is reasonable.  What's happening is
>  that Haml takes everything to the left of the =, assigns a variable to
>  it, and calls to_s.

Sure, that makes sense.

> When you evaluate
>
>   foo = "bar", "baz"
>
>  foo becomes
>
>   ["bar", "baz"]

You know, I didn't know you could implicitly create an Array like
that. That's cool.

Thanks for the explanation.

-- 
Chris Boone, Hypsometry
http://hypsometry.com/

--~--~---------~--~----~------------~-------~--~----~
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