Method: Commander::UI.say_error
- Defined in:
- lib/commander/user_interaction.rb
.say_error(*args) ⇒ Object
‘Say’ something using the ERROR color (red).
Examples
say_error 'Everything is not fine'
say_error 'It is not ok', 'This is not ok too'
97 98 99 100 101 |
# File 'lib/commander/user_interaction.rb', line 97 def say_error *args args.each do |arg| say $terminal.color(arg, :red) end end |