Class | Erubis::Engine |
In: |
lib/erubis/engine.rb
|
Parent: | Object |
(abstract) abstract engine class. subclass must include evaluator and converter module.
load file, write cache file, and return engine object. this method create code cache file automatically. cachefile name can be specified with properties[:cachename], or filname + ‘cache’ is used as default.
helper method to convert and evaluate input text with context object. context may be Binding, Hash, or Object.