Class: YARD::Server::Commands::ListMethodsCommand
- Inherits:
-
ListCommand
- Object
- Base
- LibraryCommand
- ListCommand
- YARD::Server::Commands::ListMethodsCommand
- Includes:
- Templates::Helpers::ModuleHelper
- Defined in:
- lib/yard/server/commands/list_command.rb
Overview
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 included from Templates::Helpers::ModuleHelper
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_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
#items ⇒ Object
31 32 33 34 35 |
# File 'lib/yard/server/commands/list_command.rb', line 31 def items Registry.load_all items = Registry.all(:method).sort_by {|m| m.name.to_s } prune_method_listing(items) end |
#type ⇒ Object
29 |
# File 'lib/yard/server/commands/list_command.rb', line 29 def type; :methods end |