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
- .files ⇒ Object
- .gem_path ⇒ Object
- .home ⇒ Object
- .host ⇒ Object
- .ldap_pass ⇒ Object
- .ldap_user ⇒ Object
- .pwd ⇒ Object
- .root ⇒ Object
- .user ⇒ Object
Class Method Details
.files ⇒ Object
12 13 14 |
# File 'lib/workin.rb', line 12 def self.files File.join root, 'lib/files' end |
.gem_path ⇒ Object
40 41 42 |
# File 'lib/workin.rb', line 40 def self.gem_path ENV['GEM_PATH'] end |
.home ⇒ Object
20 21 22 |
# File 'lib/workin.rb', line 20 def self.home ENV['HOME'] end |
.host ⇒ Object
16 17 18 |
# File 'lib/workin.rb', line 16 def self.host Socket.gethostname end |
.ldap_pass ⇒ Object
32 33 34 |
# File 'lib/workin.rb', line 32 def self.ldap_pass ENV['ldap_pass'] end |
.ldap_user ⇒ Object
36 37 38 |
# File 'lib/workin.rb', line 36 def self.ldap_user ENV['ldap_user'] end |
.pwd ⇒ Object
28 29 30 |
# File 'lib/workin.rb', line 28 def self.pwd ENV['PWD'] end |
.root ⇒ Object
8 9 10 |
# File 'lib/workin.rb', line 8 def self.root File.dirname __dir__ end |
.user ⇒ Object
24 25 26 |
# File 'lib/workin.rb', line 24 def self.user ENV['USER'] end |