module Haml::Helpers
def haml_bind_proc(&proc)
-
(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