Class: YARD::Server::Commands::ListTagsCommand

Inherits:
ListCommand
  • Object
show all
Defined in:
lib/yard/server/commands/list_command.rb

Overview

List Tags powers the tags menu option in ‘yard server`

Instance Method Summary collapse

Instance Method Details

#itemsObject



23
24
25
26
# File 'lib/yard/server/commands/list_command.rb', line 23

def items
  Registry.load_all
  run_verifier(Registry.all(:tag).sort_by {|t| t.value.to_s })
end

#typeObject



21
# File 'lib/yard/server/commands/list_command.rb', line 21

def type; :tags end