Module: Workin

Defined in:
lib/workin.rb,
lib/workin/version.rb

Constant Summary collapse

VERSION =
"0.1.0"
HOMEPAGE =
"https://xykogems.org"

Class Method Summary collapse

Class Method Details

.filesObject



12
13
14
# File 'lib/workin.rb', line 12

def self.files
  File.join root, 'lib/files'
end

.gem_pathObject



40
41
42
# File 'lib/workin.rb', line 40

def self.gem_path
  ENV['GEM_PATH']
end

.homeObject



20
21
22
# File 'lib/workin.rb', line 20

def self.home
  ENV['HOME']
end

.hostObject



16
17
18
# File 'lib/workin.rb', line 16

def self.host
  Socket.gethostname
end

.ldap_passObject



32
33
34
# File 'lib/workin.rb', line 32

def self.ldap_pass
  ENV['ldap_pass']
end

.ldap_userObject



36
37
38
# File 'lib/workin.rb', line 36

def self.ldap_user
  ENV['ldap_user']
end

.pwdObject



28
29
30
# File 'lib/workin.rb', line 28

def self.pwd
  ENV['PWD']
end

.rootObject



8
9
10
# File 'lib/workin.rb', line 8

def self.root
  File.dirname __dir__
end

.userObject



24
25
26
# File 'lib/workin.rb', line 24

def self.user
  ENV['USER']
end