patch.rb

Path: lib/haml/template/patch.rb
Last Update: Wed Jul 08 04:30:28 -0600 2009

This file makes Haml work with Rails by monkeypatching the core template-compilation methods. This is necessary for versions <= 2.0.1 because the template handler API wasn‘t sufficiently powerful to deal with caching and so forth.

[Validate]