class Epubber::Models::Introduction

Public Class Methods

new() click to toggle source
# File lib/epubber/models/introduction.rb, line 8
def initialize
  @content = '<p>Not specified</p>'
end

Public Instance Methods

content(content) click to toggle source
# File lib/epubber/models/introduction.rb, line 12
def content(content)
  @content = clean_html(content)
end
contextify() click to toggle source
# File lib/epubber/models/introduction.rb, line 16
def contextify
  { 'content' => @content }
end