Sha256: 4f9d8f2b268da41ef671db4fd8f8ea72fa78699109ec585d4456ea63a4041ef1
Contents?: true
Size: 437 Bytes
Versions: 16
Compression:
Stored size: 437 Bytes
Contents
# frozen_string_literal: true require "forwardable" module Runcom # A developer friendly wrapper of XDG cache. class Cache extend Forwardable DEFAULT_CONTEXT = Context.new xdg: XDG::Cache delegate %i[relative namespace file_name current all inspect] => :common def initialize path, context: DEFAULT_CONTEXT @common = Paths::Common.new path, context: end private attr_reader :common end end
Version data entries
16 entries across 16 versions & 1 rubygems