Class: OasRails::YARD::ExampleTag
- Inherits:
-
YARD::Tags::Tag
- Object
- YARD::Tags::Tag
- OasRails::YARD::ExampleTag
- Defined in:
- lib/oas_rails/yard/example_tag.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(tag_name, text, content: {}) ⇒ ExampleTag
constructor
A new instance of ExampleTag.
Constructor Details
#initialize(tag_name, text, content: {}) ⇒ ExampleTag
Returns a new instance of ExampleTag.
6 7 8 9 |
# File 'lib/oas_rails/yard/example_tag.rb', line 6 def initialize(tag_name, text, content: {}) super(tag_name, text, nil, nil) @content = content end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
4 5 6 |
# File 'lib/oas_rails/yard/example_tag.rb', line 4 def content @content end |