I'm working my way through the "Rapid Rails 3 with Hobo" guide and am starting to dive into DRYML.
If I understand it correctly, I believe that saying <span param> is the same as <span param="span"> Is that correct? Second question is a little more difficult to explain. Let me post some code from the examples in the book and then ask my question. <def tag="messages"> <br/><br/> <ul> <li param="msg1">Message 1</li> <li param="msg2">Message 2</li> <li param="msg3">Message 3</li> </ul> </def> <def tag="more-messages"> <messages merge> <msg2: *param*>Message 2 Changed</msg2:> </messages> </def> In the new tag "more-messages", is it necessary to state that msg2 is a param "<msg2: param>"? Because through trying different combinations of things, I've found that it doesn't make any difference whether param is stated or not. DRYML still knows that msg2 is a param and displays whatever value is passed to it. <def tag="more-messages"> <messages merge> <msg2:>Message 2 Changed</msg2:> </messages> </def> This code (without "param" stated) works the exact same as the snippet above. If "param" is needed, why does it work without it? And if it is not needed, why is it stated in the code? Is it for clarity? Doesn't the proceeding ":" indicated the same thing? Thanks for any help you can give, Tyler -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/-_zN95ufWTQJ. 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/hobousers?hl=en.
