Sha256: 5db452ab32cdf66f189db4c847171b00c35b32fb206fb3602d9c9e7cd516c75a
Contents?: true
Size: 375 Bytes
Versions: 3
Compression:
Stored size: 375 Bytes
Contents
require 'epubber/models/concerns/has_html' # Represents a book's introduction module Epubber::Models class Endnotes include Epubber::Models::Concerns::HasHTML def initialize @content = '<p>Not specified</p>' end def content(content) @content = clean_html(content) end def contextify { 'content' => @content } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
epubber-0.2.0 | lib/epubber/models/endnotes.rb |
epubber-0.1.3 | lib/epubber/models/endnotes.rb |
epubber-0.1.2 | lib/epubber/models/endnotes.rb |