Module: Tmuxinator::Util
Instance Method Summary collapse
Instance Method Details
#exit!(msg) ⇒ Object
7 8 9 10 |
# File 'lib/tmuxinator/util.rb', line 7 def exit!(msg) puts msg Kernel.exit(1) end |
#yes_no(condition) ⇒ Object
12 13 14 |
# File 'lib/tmuxinator/util.rb', line 12 def yes_no(condition) condition ? say("Yes", :green) : say("No", :red) end |