Sha256: 4c3f7c58b9cadbb821272f95e86023a57e50de6fb6c1f849cef4e819f64d4869
Contents?: true
Size: 505 Bytes
Versions: 11
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true require "forwardable" module Runcom # A developer friendly wrapper of XDG state. class State extend Forwardable CONTEXT = Context.new xdg: XDG::State delegate %i[initial namespace file_name active passive global local all to_s to_str] => :common def initialize path, context: CONTEXT @common = Paths::Common.new path, context: end def inspect = "#<#{self.class}:#{object_id} #{common}>" private attr_reader :common end end
Version data entries
11 entries across 11 versions & 1 rubygems