Class: YARD::Tags::DefaultTag
Instance Attribute Summary collapse
-
#defaults ⇒ Object
readonly
Returns the value of attribute defaults.
Instance Method Summary collapse
-
#initialize(tag_name, text, types = nil, name = nil, defaults = nil) ⇒ DefaultTag
constructor
A new instance of DefaultTag.
Constructor Details
#initialize(tag_name, text, types = nil, name = nil, defaults = nil) ⇒ DefaultTag
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
#defaults ⇒ Object (readonly)
Returns the value of attribute defaults.
4 5 6 |
# File 'lib/yard/tags/default_tag.rb', line 4 def defaults @defaults end |