Methods

Class Index [+]

Quicksearch

Ramaze::View::Ezamar

View adapter for the Ezamar template engine. More information about this engine can be found here: github.com/manveru/ezamar

Constants

TRANSFORM_PIPELINE

Public Class Methods

call(action, string) click to toggle source
    # 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
compile(action, template) click to toggle source
    # 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.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.