samvincent/jekyll-haml — pull request #10 by felixkiss (2014-08-07 06:24:38+00:00)
Title: DRY up monkey patch of Jekyll::Layout

This uses an method alias instead of copying the whole code of #initialize.

As seen on https://github.com/hanchang/haml-jekyll/blob/master/_plugins/transform_layouts.rb

I think this is much more stable in terms of future API updates (unless e.g. #transform gets renamed).