Inversion::Template::
ImportTag class
Superclass | Inversion::Template::Tag |
Inversion
import tag.
The import tag copies one or more attributes from an enclosing template so they only need to be set once.
Syntax
<?import txn ?> <?import foo, bar ?>
Attributes
- attributes R
the names of the attributes to import
Public Class Methods
Create a new ImportTag
with the given ‘name`, which should be a valid Ruby identifier.
Public Instance Methods
Render the tag as the body of a comment, suitable for template debugging.
Merge the inherited renderstate into the current template’s ‘renderstate`.