class Sprockets::EcoTemplate


For more infomation see:
Tilt engine class for the Eco compiler. Depends on the ‘eco` gem.

def self.engine_initialized?

Check to see if Eco is loaded
def self.engine_initialized?
  defined? ::Eco
end

def evaluate(scope, locals, &block)


# => "function(...) {...}"

assigned to a JS variable.
Returns a JS function definition String. The result should be

Compile template data with Eco compiler.
def evaluate(scope, locals, &block)
  Eco.compile(data)
end

def initialize_engine

should explicitly require it.
a thread safetly warning. If you intend to use `.eco` files, you
Autoload eco library. If the library isn't loaded, Tilt will produce
def initialize_engine
  require_template_library 'eco'
end

def prepare

def prepare
end