class Malt::Format::Textile
Public Instance Methods
html(*data, &content)
click to toggle source
# File lib/malt/formats/textile.rb, line 27 def html(*data, &content) render_into(:html, *data, &content) end
textile(*)
click to toggle source
# File lib/malt/formats/textile.rb, line 12 def textile(*) text end
Also aliased as: tt
to_html(*)
click to toggle source
# File lib/malt/formats/textile.rb, line 32 def to_html(*) opts = options.merge(:text=>html, :file=>refile(:html), :type=>:html) HTML.new(opts) end
to_textile(*)
click to toggle source
# File lib/malt/formats/textile.rb, line 20 def to_textile(*) self end
Also aliased as: to_tt