On 9/18/07, jbc <[EMAIL PROTECTED]> wrote:
>
>
> But lo, basic testing from script/console would seem to put the lie to
> that:
>
> Haml::Engine.new('-  puts File.read "/home/me/myApp/app/controllers/
> thing_controller.rb"', :suppress_eval => true).render
> => "class ThingController < ApplicationController\n...
>
> This is bad.


This is also weird. Take look at "test_stop_eval" in Engine tests; the
option should make Haml behave just as you would expect. Use Haml trunk and
run the unit tests; see if they pass. Check if you made any mistakes or
typos.

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