Method: YARD::Server::Commands::DisplayObjectCommand#index

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

#indexObject

Since:

  • 0.6.0



36
37
38
39
40
41
42
43
44
45
# File 'lib/yard/server/commands/display_object_command.rb', line 36

def index
  Registry.load_all

  options.update(
    :object => '_index.html',
    :objects => Registry.all(:module, :class),
    :type => :layout
  )
  render
end