Method: Puppet::GettextConfig.delete_all_text_domains

Defined in:
lib/puppet/gettext/config.rb

.delete_all_text_domainsObject

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.

Delete all text domains.



132
133
134
135
136
# File 'lib/puppet/gettext/config.rb', line 132

def self.delete_all_text_domains
  FastGettext.translation_repositories.clear
  FastGettext.default_text_domain = nil
  FastGettext.text_domain = nil
end