Method: IsoDoc::XslfoPdfConvert#extract_cmd_options

Defined in:
lib/isodoc/xslfo_convert.rb

#extract_cmd_options(options) ⇒ Object



26
27
28
29
30
31
32
# File 'lib/isodoc/xslfo_convert.rb', line 26

def extract_cmd_options(options)
  ret = MN2PDF_DEFAULT_ARGS.dup
  MN2PDF_OPTIONS.each do |key, opt|
    value = options[key] and ret[opt] = value
  end
  ret
end