I had similar problem.

works 1:
      <% begin %>
      <%=  "qwerty" %>
      <% end %>

works 2:
      <%= begin; "qwerty"; end %>

won't work:
      <%= begin; "qwerty" %>
      <% end %>

The last one produces

  app/views/front/index.dryml:6: syntax error, unexpected ')', expecting 
keyword_end
  ...ffer.concat(( begin; "qwerty" ).to_s); output_buffer.concat ...

I can easily workaround it (at least in this case) by splicing out the
code block to a partial .html.erb file and including it (by render
:partial) in the dryml.

Though I'm not sure that this is a bug in hobo, this limitation
rejects use of rails3 style form helpers in dryml files.

-----
Tomoaki Hayasaka <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to