>> require 'rubygems'
=> false
>> require 'haml'
=> true
>> class BugDemo
>>   def test
>>     Haml::Engine.new("test").render(self)
>>     puts "This OUGHT to print to stdout."
>>   end
>> end
=> nil
>> BugDemo.new.test
NoMethodError: undefined method `buffer' for nil:NilClass
        from /usr/local/lib/ruby/gems/1.8/gems/haml-1.7.1/lib/haml/
helpers.rb:207:in `puts'
        from (irb):6:in `test'
        from (irb):9


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