XRB::RailsSourceXRBRailsTemplateHandler

module TemplateHandler

Definitions

def self.call(template, source)

Generate a Ruby code string, which when evaluated, will render the template. The result of evaluating the string should be the output of the template.

Implementation

def self.call(template, source)
	Template.load(source).to_code
end