Class: Sinatra::JstPages::EcoEngine
- Defined in:
- lib/sinatra/jstpages.rb
Instance Attribute Summary
Attributes inherited from Engine
Instance Method Summary collapse
Methods inherited from Engine
Constructor Details
This class inherits a constructor from Sinatra::JstPages::Engine
Instance Method Details
#function ⇒ Object
214 215 216 |
# File 'lib/sinatra/jstpages.rb', line 214 def function "function() { var a = arguments.slice(); a.unshift(#{contents.inspect}); return eco.compile.apply(eco, a); }" end |