Class: YARD::Tags::DefaultTag
Instance Attribute Summary (collapse)
-
- (Object) defaults
readonly
Returns the value of attribute defaults.
-
- (String) name
inherited
from Tag
A name associated with the tag.
-
- (CodeObjects::Base) object
inherited
from Tag
The associated object.
-
- (String) tag_name
inherited
from Tag
The name of the tag.
- - (String?) text inherited from Tag
- - (Array<String>?) types inherited from Tag
Instance Method Summary (collapse)
-
- (DefaultTag) initialize(tag_name, text, types = nil, name = nil, defaults = nil)
constructor
A new instance of DefaultTag.
Constructor Details
- (DefaultTag) initialize(tag_name, text, types = nil, name = nil, defaults = nil)
Returns a new instance of DefaultTag
6 7 8 9 |
# File 'lib/yard/tags/default_tag.rb', line 6 def initialize(tag_name, text, types = nil, name = nil, defaults = nil) super(tag_name, text, types, name) @defaults = defaults end |
Instance Attribute Details
- (Object) defaults (readonly)
Returns the value of attribute defaults
4 5 6 |
# File 'lib/yard/tags/default_tag.rb', line 4 def defaults @defaults end |
- (CodeObjects::Base) object Originally defined in class Tag
Returns the associated object