Method: Puppet::Parser::Scope#without_ephemeral_scopes
- Defined in:
- lib/puppet/parser/scope.rb
#without_ephemeral_scopes ⇒ Object
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.
Execute given block with all ephemeral popped from the ephemeral stack
966 967 968 969 970 971 972 973 974 |
# File 'lib/puppet/parser/scope.rb', line 966 def without_ephemeral_scopes save_ephemeral = @ephemeral begin @ephemeral = [@symtable] yield(self) ensure @ephemeral = save_ephemeral end end |