Method: YARD::Server::Commands::LibraryIndexCommand#run

Defined in:
lib/yard/server/commands/library_index_command.rb

#runObject

Since:

  • 0.6.0



16
17
18
19
20
21
22
23
24
# 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