Sha256: a33f791d25e5caed8aa8427663bdb86b8be52aab1d4f869a9b721bcd73b9d10c

Contents?: true

Size: 442 Bytes

Versions: 16

Compression:

Stored size: 442 Bytes

Contents

# frozen_string_literal: true

require "forwardable"

module Runcom
  # A developer friendly wrapper of XDG data.
  class Data
    extend Forwardable

    DEFAULT_CONTEXT = Context.new xdg: XDG::Data

    delegate %i[relative namespace file_name current all inspect] => :common

    def initialize path, context: DEFAULT_CONTEXT
      @common = Paths::Common.new path, context: context
    end

    private

    attr_reader :common
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
runcom-7.3.0 lib/runcom/data.rb
runcom-7.2.0 lib/runcom/data.rb
runcom-7.1.3 lib/runcom/data.rb
runcom-7.1.2 lib/runcom/data.rb
runcom-7.1.1 lib/runcom/data.rb
runcom-7.1.0 lib/runcom/data.rb
runcom-7.0.0 lib/runcom/data.rb
runcom-6.6.0 lib/runcom/data.rb
runcom-6.5.0 lib/runcom/data.rb
runcom-6.4.0 lib/runcom/data.rb
runcom-6.3.0 lib/runcom/data.rb
runcom-6.2.0 lib/runcom/data.rb
runcom-6.1.1 lib/runcom/data.rb
runcom-6.1.0 lib/runcom/data.rb
runcom-6.0.1 lib/runcom/data.rb
runcom-6.0.0 lib/runcom/data.rb