class YARD::Server::Commands::LibraryIndexCommand
Returns the index of libraries served by the server.
Attributes
options[RW]
Public Instance Methods
run()
click to toggle source
# File lib/yard/server/commands/library_index_command.rb, line 16 def run return unless path.empty? self.options = LibraryIndexOptions.new options.adapter = adapter options.libraries = adapter.libraries options.reset_defaults render end