module Haml::Helpers

def haml_bind_proc(&proc)

Returns:
  • (Proc) - A new proc with the new variables bound

Parameters:
  • proc (#call) -- The proc to bind
def haml_bind_proc(&proc)
  _hamlout = haml_buffer
  _erbout = _hamlout.buffer
  proc { |*args| proc.call(*args) }
end