Method: Puppet::Context::EmptyStack#pop

Defined in:
lib/puppet/context.rb

#popObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Base case of #pop always raises an error since this is the bottom

Raises:



118
119
120
121
# File 'lib/puppet/context.rb', line 118

def pop
  raise(StackUnderflow,
        _('Attempted to pop, but already at root of the context stack.'))
end