lib/runcom/cache.rb in runcom-9.0.3 vs lib/runcom/cache.rb in runcom-10.0.0

- old
+ new

@@ -5,14 +5,14 @@ module Runcom # A developer friendly wrapper of XDG cache. class Cache extend Forwardable - DEFAULT_CONTEXT = Context.new xdg: XDG::Cache + CONTEXT = Context.new xdg: XDG::Cache - delegate %i[relative namespace file_name current all inspect] => :common + delegate %i[relative namespace file_name active global local all inspect] => :common - def initialize path, context: DEFAULT_CONTEXT + def initialize path, context: CONTEXT @common = Paths::Common.new path, context: end private