Module: MnConvert
- Defined in:
- lib/tebako-runtime/adapters/mnconvert.rb
Overview
Unpack mn2pdf.jar
Constant Summary collapse
- MNCONVERT_JAR_PATH =
TebakoRuntime.extract_memfs(File.join(TebakoRuntime.full_gem_path("mnconvert"), "bin", "mnconvert.jar"))
Class Method Summary collapse
Class Method Details
.convert(input_file, opts = {}) ⇒ Object
37 38 39 40 |
# File 'lib/tebako-runtime/adapters/mnconvert.rb', line 37 def self.convert(input_file, opts = {}) opts[:xsl_file] = TebakoRuntime.extract_memfs(opts[:xsl_file]) if opts[:xsl_file] convert_orig(TebakoRuntime.extract_memfs(input_file), opts) end |