Class | Sprockets::EjsTemplate |
In: |
lib/sprockets/ejs_template.rb
|
Parent: | Tilt::Template |
Tilt engine class for the EJS compiler. Depends on the `ejs` gem.
For more infomation see:
https://github.com/sstephenson/ruby-ejs
Compile template data with EJS compiler.
Returns a JS function definition String. The result should be assigned to a JS variable.
# => "function(obj){...}"