Class: Tilt::SerbeaTemplate
- Inherits:
-
ErubiTemplate
- Object
- ErubiTemplate
- Tilt::SerbeaTemplate
- Defined in:
- lib/serbea.rb
Instance Method Summary collapse
Instance Method Details
#encoding ⇒ Object
21 22 23 |
# File 'lib/serbea.rb', line 21 def encoding @src.encoding end |
#prepare ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/serbea.rb', line 10 def prepare .merge!( outvar: "@_erbout", bufval: "Serbea::OutputBuffer.new", literal_prefix: "{%", literal_postfix: "%}", engine_class: Serbea::TemplateEngine ) super end |