Class: CacheStore Abstract Private
- Extended by:
- T::Generic, T::Helpers
- Defined in:
- cache_store.rb
Overview
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
It cannot be directly instantiated. Subclasses must implement the abstract methods below.
CacheStore provides methods to mutate and fetch data from a persistent storage mechanism.
Direct Known Subclasses
Constant Summary collapse
- Key =
This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.
Sorbet type members are mutable by design and cannot be frozen.
type_member- Value =
This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.
Sorbet type members are mutable by design and cannot be frozen.
type_member
Instance Method Summary collapse
-
#initialize(database) ⇒ CacheStore
constructor
private
A new instance of CacheStore.
Constructor Details
#initialize(database) ⇒ CacheStore
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Returns a new instance of CacheStore.
193 194 195 |
# File 'cache_store.rb', line 193 def initialize(database) @database = database end |