Method: I18nFlow::CLI::CommandBase#exit_with_message
- Defined in:
- lib/i18n_flow/cli/command_base.rb
#exit_with_message(status, *args) ⇒ Object
19 20 21 22 23 24 25 26 27 |
# File 'lib/i18n_flow/cli/command_base.rb', line 19 def (status, *args) if status.zero? puts(*args) else $stderr.puts(*args) end exit status end |