W3cubDocs

/Padrino

Module: Padrino::Rendering::SafeBufferEnhancer

Included in:
SafeEruby

Overview

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

SafeBufferEnhancer is an Erubis Enhancer that compiles templates that are fit for using SafeBuffer as a Buffer.

Instance Method Summary

Instance Method Details

#add_expr_escaped(src, code) ⇒ 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.

#add_expr_literal(src, code) ⇒ 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.

#add_stmt(src, code) ⇒ 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.

#add_text(src, text) ⇒ 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.