Class: Tenjin::SafeEngine

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

Constant Summary

Constants inherited from Engine

Engine::TIMESTAMP_INTERVAL

Instance Attribute Summary

Attributes inherited from Engine

#cache, #data_cache, #lang, #layout, #path, #postfix, #prefix, #preprocess, #templateclass

Instance Method Summary collapse

Methods inherited from Engine

#cachename, data_cache, data_cache=, #get_template, #register_template, #render, template_cache, template_cache=, #to_filename

Constructor Details

#initialize(options = {}) ⇒ SafeEngine

Returns a new instance of SafeEngine.



1587
1588
1589
1590
# File 'lib/tenjin.rb', line 1587

def initialize(options={})
  options[:templateclass] = SafeTemplate
  super(options)
end