Module: Minitar::CLI::Command::CatchMinitarErrors
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#call(args, opts) ⇒ Object
21 22 23 24 25 26 |
# File 'lib/minitar/cli/command.rb', line 21 def call(args, opts) run(args, opts) rescue Minitar::Error => error ioe[:error] << "#{error}\n" 5 end |