Method: YARD::Server::Router#route_list

Defined in:
lib/yard/server/router.rb

#route_list(library, paths) ⇒ Array(Numeric,Hash,Array<String>)? (protected)

Routes requests from #list_prefix and calls the appropriate command

Parameters:

Returns:

Since:

  • 0.6.0

[View source]

151
152
153
154
# File 'lib/yard/server/router.rb', line 151

def route_list(library, paths)
  return if paths.empty?
  ListCommand.new(final_options(library, paths)).call(request)
end