Sha256: 28e6300295787657876b582d8a95e1ce868b2ae3334542f39c4080769d46dfa2

Contents?: true

Size: 471 Bytes

Versions: 4

Compression:

Stored size: 471 Bytes

Contents

# -*- coding: utf-8 -*-


require 'review/epubbuilder'


module ReVIEW

  defined?(EPUBBuilder)  or
    raise "ReVIEW::EPUBBuilder class not found."


  class EPUBBuilder

    def target_name
      "epub"
    end

    def inline_par(arg)
      case arg
      when 'i'
        #"<p class=\"indent\">"
        "<p class=\"indent\"></p>"  # TODO: (workaround)
      else
        #"<p>"
        "<p></p>"                   # TODO: (workaround)
      end
    end

  end


end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
review-retrovert-0.9.11 testdata/mybook/lib/ruby/review-epubbuilder.rb
review-retrovert-0.9.10 testdata/mybook/lib/ruby/review-epubbuilder.rb
review-retrovert-0.9.9 testdata/mybook/lib/ruby/review-epubbuilder.rb
review-retrovert-0.9.8 testdata/mybook/lib/ruby/review-epubbuilder.rb