Inversion::Template::
ConfigTag class
Superclass | Inversion::Template::Tag |
Included Modules |
Inversion
‘config’ tag.
A tag that dynamically alters the behavior of the template.
Examples
<?config comment_start: /* ?> <?config comment_end: */ ?> <?config on_render_error: propagate debugging_comments: true comment_start: /* comment_end: */ ?> <?config { comment_start: "/*", comment_end: "*/" } ?>
Attributes
- options R
The config options that will be modified
Public Class Methods
Create a new ConfigTag
with the specified ‘body`.
Public Instance Methods
Override the options in the ‘parsestate` when the config is appended to the tree.
Override the options in the ‘renderstate` when the config is rendered.