Class: Runcom::Cache
- Inherits:
-
Object
- Object
- Runcom::Cache
- Extended by:
- Forwardable
- Defined in:
- lib/runcom/cache.rb
Overview
A developer friendly wrapper of XDG cache.
Constant Summary collapse
Instance Method Summary collapse
-
#initialize(path, context: DEFAULT_CONTEXT) ⇒ Cache
constructor
A new instance of Cache.
Constructor Details
#initialize(path, context: DEFAULT_CONTEXT) ⇒ Cache
Returns a new instance of Cache.
14 15 16 |
# File 'lib/runcom/cache.rb', line 14 def initialize path, context: DEFAULT_CONTEXT @common = Paths::Common.new path, context: context end |