module Ramaze::Helper::Erector

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.

@example

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