j
k
j a
j l
+ +argv = if ARGV == [] + ['-h'] + else + ARGV + end
You can use argv = ARGV.empty? ? ['-h'] : ARGV Thanks, Yuanchao
+ +opt_parser.parse!(argv) + +job_id = argv[0] mail = MailJobResult.new(job_id) mail.send_mail -- 2.23.0
Back to the thread
Back to the list