Methods

Class Index [+]

Quicksearch

Ramaze::View::Lokar

Allows views to use Lokar as the template engine. See the following website for more information: github.com/Zoxc/Lokar

Public Class Methods

call(action, string) click to toggle source
    # File lib/ramaze/view/lokar.rb, line 12
12:       def self.call(action, string)
13:         compiled = View.compile(string){|s| ::Lokar.compile(s, action.view || __FILE__) }
14:         html = action.instance.instance_eval(&compiled).join
15: 
16:         return html, 'text/html'
17:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.