Sha256: cdbff0b2f52f7fb876a1e4cc7b730f382d8022e5f838650ffe2c7611c7c0ec0d
Contents?: true
Size: 564 Bytes
Versions: 3
Compression:
Stored size: 564 Bytes
Contents
# frozen_string_literal: true require "pathname" module XDG module Paths # The combined home and directory paths. class Combined def initialize initial_home, initial_directories @initial_home = initial_home @initial_directories = initial_directories end def home initial_home.dynamic end def directories initial_directories.dynamic end def all directories.prepend home end private attr_reader :initial_home, :initial_directories end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xdg-3.0.2 | lib/xdg/paths/combined.rb |
xdg-3.0.1 | lib/xdg/paths/combined.rb |
xdg-3.0.0 | lib/xdg/paths/combined.rb |