Method: Puppet::Util.clear_environment

Defined in:
lib/puppet/util.rb

.clear_environment(mode = default_env) ⇒ 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.

Deprecated.

Use ENV instead



60
61
62
# File 'lib/puppet/util.rb', line 60

def clear_environment(mode = default_env)
  ENV.clear
end