Class: Facter::SessionCache
- Inherits:
-
Object
- Object
- Facter::SessionCache
- Defined in:
- lib/facter/framework/core/session_cache.rb
Class Method Summary collapse
Class Method Details
.invalidate_all_caches ⇒ Object
11 12 13 14 |
# File 'lib/facter/framework/core/session_cache.rb', line 11 def self.invalidate_all_caches @resolvers.uniq.each(&:invalidate_cache) @resolvers = [] end |
.subscribe(resolver) ⇒ Object
7 8 9 |
# File 'lib/facter/framework/core/session_cache.rb', line 7 def self.subscribe(resolver) @resolvers << resolver end |