Class | Radius::TagBinding |
In: |
lib/radius/tag_binding.rb
|
Parent: | Object |
A tag binding is passed into each tag definition and contains helper methods for working with tags. Use it to gain access to the attributes that were passed to the tag, to render the tag contents, and to do other tasks.
attributes | -> | attr |
attributes | [R] | The attributes of the tag. Also aliased as TagBinding#attr. |
block | [R] | The render block. When called expands the contents of the tag. Use TagBinding#expand instead. |
context | [R] | The Context that the TagBinding is associated with. Used internally. Try not to use this object directly. |
locals | [R] | The locals object for the current tag. |
name | [R] | The name of the tag (as used in a template string). |