Sha256: a17a1de93aa2417414cde5d8722d535e5cc8bd5685765c83cc0cdf8db0903eed
Contents?: true
Size: 433 Bytes
Versions: 11
Compression:
Stored size: 433 Bytes
Contents
require 'epubber/generators/generator' module Epubber::Generators class Endnotes < Generator def generate # Because this is an optional generator, don't do anything if there's no # introduction in the book return if book.endnotes.nil? content = template.parse file: 'OEBPS/Text/endnotes.xhtml', context: book_context persist file: 'OEBPS/Text/endnotes.xhtml', content: content end end end
Version data entries
11 entries across 11 versions & 1 rubygems