Module: Temple::ERB

Defined in:
lib/temple/erb/template.rb,
lib/temple.rb,
lib/temple/erb/engine.rb,
lib/temple/erb/parser.rb,
lib/temple/erb/trimming.rb

Overview

ERB example implementation

Example usage:

Temple::ERB::Template.new { "<%= 'Hello, world!' %>" }.render

Defined Under Namespace

Classes: Engine, Parser, Trimming

Constant Summary collapse

Template =

ERB Template class

Temple::Templates::Tilt(Engine)