Sha256: fc5c3fdf96637eaea89dad7e69df9f097568fd24846838245d116096aa049c8b
Contents?: true
Size: 398 Bytes
Versions: 4
Compression:
Stored size: 398 Bytes
Contents
# Methods to help with handling warnings. module Puppet::Util::Warnings module_function def warnonce(msg) $stampwarnings ||= {} $stampwarnings[self.class] ||= [] unless $stampwarnings[self.class].include? msg Puppet.warning msg $stampwarnings[self.class] << msg end end end # $Id: warnings.rb 1580 2006-09-13 16:48:56Z lutter $
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
puppet-0.22.4 | lib/puppet/util/warnings.rb |
puppet-0.23.0 | lib/puppet/util/warnings.rb |
puppet-0.23.1 | lib/puppet/util/warnings.rb |
puppet-0.23.2 | lib/puppet/util/warnings.rb |