Malt  Malt::Format::Textile

[Validate]
Generated with RDazzle Newfish 1.4.0

Textile

Public Instance Methods

html(*) click to toggle source
    # File lib/malt/formats/textile.rb, line 27
27:     def html(*)
28:       render_engine.render(:format=>:html, :text=>text, :file=>file)
29:     end
textile(*) click to toggle source
    # File lib/malt/formats/textile.rb, line 12
12:     def textile(*)
13:       text
14:     end
Also aliased as: tt
to_html(*) click to toggle source
    # File lib/malt/formats/textile.rb, line 32
32:     def to_html(*)
33:       opts = options.merge(:text=>html, :file=>refile(:html), :type=>:html)
34:       HTML.new(opts)
35:     end
to_textile(*) click to toggle source
    # File lib/malt/formats/textile.rb, line 20
20:     def to_textile(*)
21:       self
22:     end
Also aliased as: to_tt
to_tt(*) click to toggle source
tt(*) click to toggle source

Private Instance Methods

render_engine() click to toggle source
    # File lib/malt/formats/textile.rb, line 52
52:       def render_engine
53:         @render_engine ||= Malt::Engine::RedCloth.new(options)
54:       end

Disabled; run with --debug to generate this.