Class: Tilt::Sibilant::SibilantTemplate
- Inherits:
-
Template
- Object
- Template
- Tilt::Sibilant::SibilantTemplate
- Defined in:
- lib/sibilant/tilt.rb
Instance Method Summary collapse
Instance Method Details
#evaluate(scope, locals, &block) ⇒ Object
14 15 16 |
# File 'lib/sibilant/tilt.rb', line 14 def evaluate(scope, locals, &block) @compiler.translate data end |
#prepare ⇒ Object
9 10 11 |
# File 'lib/sibilant/tilt.rb', line 9 def prepare @compiler = ::Sibilant::Compiler.new end |