Module: OBF::OBZ

Defined in:
lib/obf/obz.rb

Class Method Summary collapse

Class Method Details

.from_external(content, dest_path, opts) ⇒ Object



6
7
8
# File 'lib/obf/obz.rb', line 6

def self.from_external(content, dest_path, opts)
  OBF::External.to_obz(content, dest_path, opts)
end

.to_external(obz, opts) ⇒ Object



2
3
4
# File 'lib/obf/obz.rb', line 2

def self.to_external(obz, opts)
  OBF::External.from_obz(obz, opts)
end

.to_pdf(obz, dest_path, opts = {}) ⇒ Object



10
11
12
# File 'lib/obf/obz.rb', line 10

def self.to_pdf(obz, dest_path, opts={})
  OBF::PDF.from_obz(obz, dest_path, opts)
end