lib/liquid/context.rb
# pushes a new local scope on the stack, pops it at the end of the block
#
# Example:
#
#   context.stack do 
#      context['var'] = 'hi'
#   end
#   context['var]  #=> nil
#
pushes a new local scope on the stack, pops it at the end of the block
Example.


pushes a new local scope on the stack pops it at the end of the block Example .
def stack(&block)
      push
      begin
        result = yield
      ensure 
        pop
      end
      result      
    end
def stack ( & block ) push begin result = yield ensure pop end result end
pushes a new local scope on the stack, pops it at the end of the block
Example:
pushes a new local scope on the stack pops it at the end of the block Example :
block
<not_specific>