class Tilt::LiveScriptTemplate

LiveScript template implementation. See: livescript.net/

LiveScript templates do not support object scopes, locals, or yield.

Public Instance Methods

allows_script?() click to toggle source
   # File lib/tilt/livescript.rb
19 def allows_script?
20   false
21 end
evaluate(scope, locals, &block) click to toggle source
   # File lib/tilt/livescript.rb
15 def evaluate(scope, locals, &block)
16   @output ||= LiveScript.compile(data, options)
17 end
prepare() click to toggle source
   # File lib/tilt/livescript.rb
12 def prepare
13 end