Malt  Malt::Format::RagTag

[Validate]
Generated with RDazzle Newfish 1.4.0

RagTag

RagTag

 http://github.com/rubyworks/ragtag

Public Instance Methods

html(data=nil, &yld) click to toggle source
    # File lib/malt/formats/ragtag.rb, line 17
17:     def html(data=nil, &yld)
18:       render_engine.render(:text=>text, :data=>data, &yld)
19:     end
to_html(data=nil, &yld) click to toggle source
    # File lib/malt/formats/ragtag.rb, line 22
22:     def to_html(data=nil, &yld)
23:       text = html(data, &yld)
24:       opts = options.merge(:text=>text, :file=>refile(:html), :type=>:html)
25:       HTML.new(opts)
26:     end
to_xml(data=nil, &yld) click to toggle source
    # File lib/malt/formats/ragtag.rb, line 34
34:     def to_xml(data=nil, &yld)
35:       text = xml(data, &yld)
36:       opts = options.merge(:text=>text, :file=>refile(:xml), :type=>:xml)
37:       XML.new(opts)
38:     end
xml(data=nil, &yld) click to toggle source
    # File lib/malt/formats/ragtag.rb, line 29
29:     def xml(data=nil, &yld)
30:       render_engine.render(:text=>text, :data=>data, &yld)
31:     end

Private Instance Methods

render_engine() click to toggle source
    # File lib/malt/formats/ragtag.rb, line 43
43:       def render_engine
44:         @render_engine ||= Malt::Engine::RagTag.new(options)
45:       end

Disabled; run with --debug to generate this.