13 14 15
# File 'lib/mack-haml/haml_engine.rb', line 13 def extension :haml end
6 7 8 9 10 11
# File 'lib/mack-haml/haml_engine.rb', line 6 def render(io, binding) if io.is_a?(File) io = io.read end ::Haml::Engine.new(io).render(binding) end