View adapter for the Erubis template engine. More information about Erubis can be found here: www.kuwata-lab.com/erubis/
# File lib/ramaze/view/erubis.rb, line 16 16: def self.call(action, string) 17: options = OPTIONS.dup 18: engine = options.delete(:engine) 19: 20: eruby = View.compile(string){|s| engine.new(s, options) } 21: eruby.init_evaluator(:filename => (action.view || __FILE__)) 22: html = eruby.evaluate(action.instance) 23: 24: return html, 'text/html' 25: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.