Haml::Helpers#bind_proc shouldn't show up in the RDoc.
git-svn-id: svn://hamptoncatlin.com/haml/branches/edge@160 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
c8fdbf82f9
commit
312b1b078c
|
@ -67,7 +67,7 @@ module Haml
|
||||||
|
|
||||||
# Gives a proc the same local "_hamlout" and "_erbout" variables
|
# Gives a proc the same local "_hamlout" and "_erbout" variables
|
||||||
# that the current template has.
|
# that the current template has.
|
||||||
def bind_proc(&proc)
|
def bind_proc(&proc) # :nodoc:
|
||||||
_hamlout = buffer
|
_hamlout = buffer
|
||||||
_erbout = _hamlout.buffer
|
_erbout = _hamlout.buffer
|
||||||
proc { |*args| proc.call(*args) }
|
proc { |*args| proc.call(*args) }
|
||||||
|
|
Loading…
Reference in New Issue