Module: Utils::XDG::AppDir

Defined in:
lib/utils/xdg.rb

Overview

Module for handling XDG application directories.

This module provides methods for creating and managing application-specific directories within the XDG base directories.

Class Method Summary collapse

Class Method Details

.pathify(path) ⇒ XDGPathname

Converts a path string to a XDGPathname object with expanded path

Parameters:

  • path (String)

    The path to convert

Returns:



115
116
117
# File 'lib/utils/xdg.rb', line 115

def self.pathify(path)
  XDGPathname.new(path).expand_path
end