Inversion::Template class

The main template class. Instances of this class are created by parsing template source and combining the resulting node tree with a set of attributes that can be used to populate it when rendered.

Public Class Methods

configure( config ) click to toggle source

Configure the templating system.

# File lib/inversion/template.rb, line 64
def self::configure( config )
        Inversion.log.debug "Merging config %p with current config %p" % [ config, self.config ]
        self.config = self.config.merge( config )
end