Class: TTY::Terminal
- Inherits:
-
Object
- Object
- TTY::Terminal
- Defined in:
- lib/tty/terminal.rb,
lib/tty/terminal/home.rb
Defined Under Namespace
Classes: Home
Instance Method Summary collapse
-
#home ⇒ String
Find user home directory.
-
#initialize(options = {}) ⇒ Terminal
constructor
Initialize a Terminal.
Constructor Details
Instance Method Details
#home ⇒ String
Find user home directory
17 18 19 |
# File 'lib/tty/terminal.rb', line 17 def home @home.find_home end |