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, line 19 def allows_script? false end
evaluate(scope, locals, &block)
click to toggle source
# File lib/tilt/livescript.rb, line 15 def evaluate(scope, locals, &block) @output ||= LiveScript.compile(data, options) end
prepare()
click to toggle source
# File lib/tilt/livescript.rb, line 12 def prepare end