View adapter for the Ezamar template engine. More information about this engine can be found here: github.com/manveru/ezamar
# File lib/ramaze/view/ezamar.rb, line 14 14: def self.call(action, string) 15: ezamar = View.compile(string){|s| compile(action, s) } 16: html = ezamar.result(action.binding) 17: return html, 'text/html' 18: end
# File lib/ramaze/view/ezamar.rb, line 20 20: def self.compile(action, template) 21: file = action.view || __FILE__ 22: 23: TRANSFORM_PIPELINE.each{|tp| template = tp.transform(template) } 24: 25: ::Ezamar::Template.new(template, :file => file) 26: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.