html2haml -e converted my code for me:

- @my = capture do
  test

gives a confusing error message:

Exception on line 1: undefined method `capture' for #<Object:
0x101869960>
  Use --trace for backtrace.
  Use --trace for backtrace.

switching it to capture_haml worked, but only after a few hours of
debugging :)

Might be nicer for new users to include a mention of capture in the
error message and/or the documentation.  Or maybe its a bug, I don't
know :)

Thanks for a fun project!

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