Module: Ramaze::Helper::Erector

Includes:
Erector::Mixin
Defined in:
lib/ramaze/helper/erector.rb

Overview

Allows you to use some shortcuts for Erector in your Controller.

use this inside your controller to directly build Erector Refer to the Erector-documentation and testsuite for more examples.

Examples:

erector { h1 "Apples & Oranges" } #=> "<h1>Apples &amp; Oranges</h1>"
erector { h1(:class => 'fruits&floots'){ text 'Apples' } }