Class: YARD::Tags::OptionTag
Instance Attribute Summary (collapse)
-
- (Object) pair
Returns the value of attribute pair.
Attributes inherited from Tag
name, object, tag_name, text, types
Instance Method Summary (collapse)
-
- (OptionTag) initialize(tag_name, name, pair)
constructor
A new instance of OptionTag.
Methods inherited from Tag
Constructor Details
- (OptionTag) initialize(tag_name, name, pair)
A new instance of OptionTag
6 7 8 9 |
# File 'lib/yard/tags/option_tag.rb', line 6 def initialize(tag_name, name, pair) super(tag_name, nil, nil, name) @pair = pair end |
Instance Attribute Details
- (Object) pair
Returns the value of attribute pair
4 5 6 |
# File 'lib/yard/tags/option_tag.rb', line 4 def pair @pair end |