| Class | YARD::Tags::Tag |
| In: |
lib/yard/tags/tag.rb
|
| Parent: | Object |
| name | [R] | |
| object | [RW] | |
| tag_name | [R] | |
| text | [R] | |
| types | [R] |
Creates a new tag object with a tag name and text. Optionally, formally declared types and a key name can be specified.
Types are mainly for meta tags that rely on type information, such as param, return, etc.
Key names are for tags that declare meta data for a specific key or name, such as param, raise, etc.
@param tag_name the tag name to create the tag for @param [String] text the descriptive text for this tag @param [Array<String>] types optional type list of formally declared types
for the tag
@param [String] name optional key name which the tag refers to