Class: YARD::Tags::EndGroupDirective
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Directive
|
|
Instance Chain:
self,
Directive
|
|
Inherits: |
YARD::Tags::Directive
|
Defined in: | lib/yard/tags/directives.rb |
Overview
Ends a group listing definition. Group definition automatically end when class or module blocks are closed, and defining a new group overrides the last group definition, but occasionally you need to end the current group to return to the default listing. Use @!group to begin a group listing.
Parser callbacks
Class Method Summary
Instance Attribute Summary
Directive
- Inherited
#expanded_text | Set this field to replace the directive definition inside of a docstring with arbitrary text. |
#handler, #object, #tag |
Instance Method Summary
Directive
- Inherited
#after_parse | Called after parsing all directives and tags in the docstring. |
#call | Called when processing the directive. |
Constructor Details
This class inherits a constructor from YARD::Tags::Directive
Instance Method Details
#call
# File 'lib/yard/tags/directives.rb', line 105
def call return unless handler handler.extra_state.group = nil end