Hi,
I am experimenting with haml as an alternative to *yuk* RHTML and like
it very much so far.
However, I am unable to figure how to use haml in ruby code or inside
a helper method in particular.
something like that:
module SomeHelper
def my_helper_method
# produce some haml here
HamlProducingMethodIAmUnableToFigureOut(<<-EOF)
%h1 Title
%p voila
EOF
end
end
Can anybody help me on that, please?
Regards
Peter
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---