class Mustache::Context

def push(new_obj)

Returns:
  • (Context) - Returns the Context.

Parameters:
  • new_obj (Object) -- Object to be added to the internal stack.
def push(new_obj)
  @stack.unshift(new_obj)
  @mustache_in_stack = nil
  self
end