Malt  Malt::Format::Radius

[Validate]
Generated with RDazzle Newfish 1.4.0

Radius

Radius Template

  http://github.com/jlong/radius/

Public Instance Methods

html(data=nil, &yld) click to toggle source
    # File lib/malt/formats/radius.rb, line 26
26:     def html(data=nil, &yld)
27:       render_engine.render(:text=>text, :file=>file, :data=>data, &yld)
28:     end
radius(*) click to toggle source
    # File lib/malt/formats/radius.rb, line 16
16:     def radius(*)
17:       text
18:     end
to_html(data=nil, &yld) click to toggle source
    # File lib/malt/formats/radius.rb, line 31
31:     def to_html(data=nil, &yld)
32:       text = html(data, &yld)
33:       opts = options.merge(:text=>text, :file=>refile(:html), :type=>:html)
34:       HTML.new(opts)
35:     end
to_radius(*) click to toggle source
    # File lib/malt/formats/radius.rb, line 21
21:     def to_radius(*)
22:       self
23:     end

Private Instance Methods

render_engine() click to toggle source
    # File lib/malt/formats/radius.rb, line 40
40:       def render_engine
41:         @render_engine ||= Malt::Engine::Radius.new(options)
42:       end

Disabled; run with --debug to generate this.