# File lib/xtemplate/xpath.rb, line 396 def push(val, name) stack = ((Thread.current[:xtemplate] ||= {})[name.intern] ||= []) stack.push(val) case val when Hash {} when Array [] else nil end end