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

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

Instance Method Summary collapse

Instance Method Details

#itemsObject



17
18
19
20
# File 'lib/yard/server/commands/list_command.rb', line 17

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

#typeObject



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

def type; :tags end