Sha256: a3f26e934cb2533d486398e983b214e1a6b0f4b094cf3fa7a577f994d0c5bc02
Contents?: true
Size: 586 Bytes
Versions: 1
Compression:
Stored size: 586 Bytes
Contents
require 'malt/formats/abstract' require 'malt/formats/html' require 'malt/engines/rdoc' module Malt::Format # class RDoc < Abstract register('rdoc') # def rdoc text end # def to_rdoc self end # def html render_engine.render(:text=>text, :file=>file, :format=>:html) end # def to_html opts = options.merge(:text=>html, :file=>refile(:html), :type=>:html) HTML.new(opts) end private # def render_engine @render_engine ||= Malt::Engine::RDoc.new(options) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
malt-0.1.1 | lib/malt/formats/rdoc.rb |