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

- old
+ new

@@ -5,14 +5,14 @@ module Runcom # A developer friendly wrapper of XDG data. class Data extend Forwardable - DEFAULT_CONTEXT = Context.new xdg: XDG::Data + CONTEXT = Context.new xdg: XDG::Data - 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