lib/gettext/tools.rb
# convert an array of String/Symbol to cli options
convert an array of String/Symbol to cli options
convert an array of String / Symbol to cli options
def array_to_cli_options(array)
    [*array].map do |o|
      o.kind_of?(Symbol) ? "--#{o}".gsub('_','-') : o.to_s
    end.join(' ')
  end
def array_to_cli_options ( array ) [ * array ] . map do | o | o . kind_of? ( Symbol ) ? "--#{o}" . gsub ( '_' , '-' ) : o . to_s end . join ( ' ' ) end
convert an array of String/Symbol to cli options
convert an array of String / Symbol to cli options
array
<not_specific>