Module: Puppet::Util::Cacher::InstanceMethods
- Defined in:
- lib/puppet/util/cacher.rb
Overview
Methods that get added to instances.
Instance Method Summary collapse
Instance Method Details
#expire ⇒ Object
76 77 78 79 80 81 82 83 84 85 |
# File 'lib/puppet/util/cacher.rb', line 76 def expire # Only expire if we have an expirer. This is # mostly so that we can comfortably handle cases # like Puppet::Type instances, which use their # catalog as their expirer, and they often don't # have a catalog. if e = expirer e.expire end end |