Sha256: 866688d90c80aad09361a3d69c34d78c9e3a92546eb8c52425fee8223631d4d3
Contents?: true
Size: 359 Bytes
Versions: 7
Compression:
Stored size: 359 Bytes
Contents
require "epubber/version" require "epubber/models/book" require "epubber/generator" module Epubber def self.generate(filename: filename = nil, working_dir: working_dir = nil) book = Epubber::Models::Book.new yield book generator = Epubber::Generator.new book: book, working_dir: working_dir, filename: filename generator.generate end end
Version data entries
7 entries across 7 versions & 1 rubygems