Inversion 'config' tag.
A tag that dynamically alters the behavior of the template.
<?config comment_start: /* ?>
<?config comment_end: */ ?>
<?config
on_render_error: propagate
debugging_comments: true
comment_start: /*
comment_end: */
?>
<?config { comment_start: "/*", comment_end: "*/" } ?>
Create a new ConfigTag with the specified body.
# File lib/inversion/template/configtag.rb, line 34 def initialize( body, linenum=nil, colnum=nil ) raise Inversion::ParseError, 'Empty config settings' if body.nil? || body.strip.empty? opts = YAML.load( body ) @options = symbolify_keys( opts ) super end
Generated with the Darkfish Rdoc Generator 2.