Module: Color
- Defined in:
- lib/sshkit/color.rb
Class Method Summary collapse
Class Method Details
.colorize? ⇒ Boolean
23 24 25 |
# File 'lib/sshkit/color.rb', line 23 def colorize? ENV['SSHKIT_COLOR'] || $stdout.tty? end |
23 24 25 |
# File 'lib/sshkit/color.rb', line 23 def colorize? ENV['SSHKIT_COLOR'] || $stdout.tty? end |