class Malt::Format::Radius
http://github.com/jlong/radius/
Public Instance Methods
html(*data, &content)
click to toggle source
# File lib/malt/formats/radius.rb, line 26 def html(*data, &content) render_into(:html, *data, &content) #render_engine.render(:text=>text, :file=>file, :data=>data, &yld) end
radius(*)
click to toggle source
# File lib/malt/formats/radius.rb, line 16 def radius(*) text end
to_html(*data, &content)
click to toggle source
# File lib/malt/formats/radius.rb, line 32 def to_html(*data, &content) text = html(*data, &content) opts = options.merge(:text=>text, :file=>refile(:html), :type=>:html) HTML.new(opts) end
to_radius(*)
click to toggle source
# File lib/malt/formats/radius.rb, line 21 def to_radius(*) self end
Private Instance Methods
render_engine()
click to toggle source
# File lib/malt/formats/radius.rb, line 41 def render_engine @render_engine ||= Malt::Engine::Radius.new(options) end