Class: Docscribe::Plugin::Tag
- Inherits:
-
Struct
- Object
- Struct
- Docscribe::Plugin::Tag
- Defined in:
- lib/docscribe/plugin/tag.rb
Overview
A single YARD-style tag returned by a TagPlugin.
Instance Attribute Summary collapse
-
#name ⇒ String
Tag name without leading @.
-
#text ⇒ String?
Text after the type bracket.
-
#types ⇒ Array<String>?
Optional type list rendered as [Foo, Bar].
Instance Attribute Details
#name ⇒ String
Returns tag name without leading @.
21 |
# File 'lib/docscribe/plugin/tag.rb', line 21 Tag = Struct.new(:name, :text, :types, keyword_init: true) |
#text ⇒ String?
Returns text after the type bracket.
21 |
# File 'lib/docscribe/plugin/tag.rb', line 21 Tag = Struct.new(:name, :text, :types, keyword_init: true) |
#types ⇒ Array<String>?
Returns optional type list rendered as [Foo, Bar].
21 |
# File 'lib/docscribe/plugin/tag.rb', line 21 Tag = Struct.new(:name, :text, :types, keyword_init: true) |