Class: YARD::Server::Commands::ListClassesCommand
- Inherits:
-
ListCommand
- Object
- Base
- LibraryCommand
- ListCommand
- YARD::Server::Commands::ListClassesCommand
- Defined in:
- lib/yard/server/commands/list_command.rb
Overview
Returns the list of classes / modules in a library
Instance Attribute Summary
Attributes included from Templates::Helpers::BaseHelper
Attributes inherited from LibraryCommand
incremental, library, options, serializer, single_library
Attributes inherited from Base
adapter, body, caching, command_options, headers, path, request, status
Instance Method Summary (collapse)
Methods inherited from ListCommand
Methods included from Templates::Helpers::BaseHelper
#format_object_title, #format_object_type, #format_source, #format_types, #globals, #h, #link_file, #link_include_file, #link_include_object, #link_object, #link_url, #linkify, #run_verifier
Methods inherited from LibraryCommand
Methods inherited from Base
#cache, #call, #initialize, #not_found, #redirect, #render, #run
Constructor Details
This class inherits a constructor from YARD::Server::Commands::LibraryCommand
Instance Method Details
- (Object) items
22 23 24 25 |
# File 'lib/yard/server/commands/list_command.rb', line 22 def items Registry.load_all run_verifier(Registry.all(:class, :module)) end |
- (Object) type
20 |
# File 'lib/yard/server/commands/list_command.rb', line 20 def type; :class end |