Class: Tmuxinator::Doctor
- Inherits:
-
Object
- Object
- Tmuxinator::Doctor
- Defined in:
- lib/tmuxinator/doctor.rb
Class Method Summary collapse
Class Method Details
.editor? ⇒ Boolean
4 5 6 |
# File 'lib/tmuxinator/doctor.rb', line 4 def editor? !ENV["EDITOR"].nil? && !ENV["EDITOR"].empty? end |
.installed? ⇒ Boolean
8 9 10 |
# File 'lib/tmuxinator/doctor.rb', line 8 def installed? Kernel.system("type tmux > /dev/null") end |
.shell? ⇒ Boolean
12 13 14 |
# File 'lib/tmuxinator/doctor.rb', line 12 def shell? !ENV["SHELL"].nil? && !ENV["SHELL"].empty? end |