W3cubDocs

/Padrino

Class: Padrino::Rendering::ErubisTemplate

Inherits:
Tilt::ErubisTemplate
  • Object

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Modded ErubisTemplate that doesn't insist in an String as output buffer.

Instance Method Summary

Instance Method Details

#precompiled_preamble(locals) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

In preamble we need a flag `__in_erb_template` and SafeBuffer for padrino apps.

#render(*args) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.