class ReVIEW::WEBTOCPrinter

Public Class Methods

book_to_string(book) click to toggle source
# File lib/review/webtocprinter.rb, line 8
def self.book_to_string(book)
  io = StringIO.new
  ReVIEW::WEBTOCPrinter.new(1, {}, io).print_book(book)
  io.seek(0)
  io.read
end

Public Instance Methods

print_book(book) click to toggle source
print_chapter(chap) click to toggle source
print_part(part) click to toggle source