W3cubDocs

/Padrino

Class: Padrino::Helpers::OutputHelpers::ErbHandler

Inherits:
AbstractHandler

Overview

Handler for Erb template.

Instance Attribute Summary

Attributes inherited from AbstractHandler

#output_buffer, #template

Instance Method Summary

Methods inherited from AbstractHandler

#capture_from_template, #initialize

Constructor Details

This class inherits a constructor from Padrino::Helpers::OutputHelpers::AbstractHandler

Instance Method Details

#concat_to_template(text = "", context = nil) ⇒ Object

Outputs the given text to the templates buffer directly.

#engine_matches?(block) ⇒ Boolean

Returns true if the block is Erb.

Returns:

  • (Boolean)