Inversion::Template::
EscapeTag class
Superclass | Inversion::Template::AttrTag |
Included Modules |
Inversion
escaping tag.
This tag is a derivative of the ‘attr’ tag that escapes the results of its method call via the format specified in the template config option ‘escape_format’.
Syntax
<?escape foo.bar ?> <?escape "Got <%d> items at <$%0.2f>" % [ line_item.count, line_item.price ] ?>