Sha256: 5a5e37efd94f06c4daa8f88a3678c3a45d2e6412ba19aabc8304b9f6c55e760f
Contents?: true
Size: 379 Bytes
Versions: 3
Compression:
Stored size: 379 Bytes
Contents
require 'epubber/models/concerns/has_html' # Represents a book's introduction module Epubber::Models class Introduction 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/introduction.rb |
epubber-0.1.3 | lib/epubber/models/introduction.rb |
epubber-0.1.2 | lib/epubber/models/introduction.rb |