Class: Tenjin::ErubisTemplate

Inherits:
Template
  • Object
show all
Defined in:
lib/tenjin.rb

Overview

template class to use eRuby template file (*.rhtml) instead of Tenjin template file (*.rbhtml). requires ‘erubis’ (www.kuwata-lab.com/erubis).

ex.

require 'erubis'
require 'tenjin'
engine = Tenjin::Engine.new(:templateclass=>Tenjin::ErubisTemplate)

Constant Summary

Constants inherited from Template

Template::ESCAPE_FUNCTION, Template::TRACE

Instance Attribute Summary

Attributes inherited from Template

#_last_checked_at, #args, #escapefunc, #filename, #initbuf, #newline, #script, #timestamp

Method Summary

Methods inherited from Template

TRACE=, #convert, #convert_file, #finish_buf_expr, #init_buf_expr, #initialize, #render

Constructor Details

This class inherits a constructor from Tenjin::Template