class Malt::Format::RBHTML
RBHTML
is a variant of Tenjin
, but limited to HTML
conversion.
Public Instance Methods
html(*data, &content)
click to toggle source
# File lib/malt/formats/rbhtml.rb, line 14 def html(*data, &content) render_into(:html, *data, &content) end
to_html(*data, &yld)
click to toggle source
# File lib/malt/formats/rbhtml.rb, line 19 def to_html(*data, &yld) text = html(*data, &yld) opts = options.merge( :text => text, :file => refile(:html), :type => :html, :engine => nil ) HTML.new(opts) end