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