Hello, the attached patch is my take on getting rid of Ruby warnings when run with "ruby -w" or RUBYOPT="-w" environment variable. The hardest warnings to fix were about @haml_buffer instance variable not being initialized---they were also the most numerous.
These commits rely on my previous patch (RedCloth thread); conflicts in engine_test.rb *will* occur if applied without RedCloth fixes. Even with this patch, there *may* be some warnings about methods being redefined. Also, some templates in test/haml/templates/ still generate warnings, but with good purpose, and I didn't change that. They should be ignored. Thanks, # Mislav --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
nowarn.patch
Description: Binary data
