Method: YARD::Tags::Library.visible_tags

Defined in:
lib/yard/tags/library.rb

.visible_tagsArray<Symbol>

Sets the list of tags to display when rendering templates. The order of tags in the list is also significant, as it represents the order that tags are displayed in templates.

You can use the Array#place to insert new tags to be displayed in the templates at specific positions:

Library.visible_tags.place(:mytag).before(:return)

Returns:

  • (Array<Symbol>)

    a list of ordered tags

Since:

  • 0.6.0


94
95
96
# File 'lib/yard/tags/library.rb', line 94

def visible_tags
  @visible_tags
end