Ejemplo n.º 1
0
        /// <summary>
        /// Pop from the stack. use <tt>Context#stack</tt> instead
        /// </summary>
        public Hash Pop()
        {
            if (Scopes.Count == 1)
            {
                throw new ContextException();
            }
            Hash result = Scopes[0];

            Scopes.RemoveAt(0);
            return(result);
        }