🚨 You are viewing the legacy v1.x docs. See the new v2 documentation →


Represents a custom tag instance.



Tag name


The raw tag body string


Hash of argument values parsed from the tag body


Hash of options parsed from the tag body

All entries in the tag.args hash are additionally made available as dynamic attributes on the tag object itself:

tag.args[:foo] = "bar"
tag.foo # --> "bar"