Class: XDG::Paths::Home

Inherits:
Any
  • Object
show all
Defined in:
lib/xdg/paths/home.rb

Overview

A XDG home path.

Constant Summary collapse

KEY =
"HOME"

Instance Method Summary collapse

Methods inherited from Any

#default, #dynamic, #inspect, #to_s

Constructor Details

#initialize(pair, environment = ENV, default_key: KEY) ⇒ Home

Returns a new instance of Home.



9
10
11
12
# File 'lib/xdg/paths/home.rb', line 9

def initialize pair, environment = ENV, default_key: KEY
  @default_key = default_key
  super(pair, environment)
end