Class: Lazylead::Home

Inherits:
Object
  • Object
show all
Defined in:
lib/lazylead/home.rb

Overview

Home directory for lazylead

Author

Yurii Dubinka ([email protected])

Copyright

Copyright © 2019-2020 Yurii Dubinka

License

MIT

Instance Method Summary collapse

Instance Method Details

#dirObject



34
35
36
# File 'lib/lazylead/home.rb', line 34

def dir
  ENV["LL_HOME"].nil? ? Dir.pwd : ENV.fetch("LL_HOME", nil)
end