Method: TTY::Shell#warn
- Defined in:
- lib/tty/shell.rb
#warn(*args) ⇒ Array
Print statement(s) out in yellow color.
117 118 119 120 |
# File 'lib/tty/shell.rb', line 117 def warn(*args) = Utils.(args) args.each { || say , .merge(color: :yellow) } end |