class EpubForge::Builder::Html
Public Instance Methods
build()
click to toggle source
# File lib/epubforge/builder/html.rb, line 4 def build @html_content = "" @sections.each do |section| @html_content << section.html @html_content << "\n\n" # couldn't hurt? end end
clean()
click to toggle source
# File lib/epubforge/builder/html.rb, line 17 def clean # do nothing end
package( html_filename )
click to toggle source
# File lib/epubforge/builder/html.rb, line 13 def package( html_filename ) html_filename.write( wrap_page( @html_content ) ) end