Method: YARD::Server::Adapter#document_root

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

#document_rootString

Returns the location where static files are located, if any. To set this field on initialization, pass :DocumentRoot to the server_opts argument in #initialize.

Returns:

  • (String)

    the location where static files are located, if any. To set this field on initialization, pass :DocumentRoot to the server_opts argument in #initialize

Since:

  • 0.6.0

[View source]

27
28
29
# File 'lib/yard/server/adapter.rb', line 27

def document_root
  @document_root
end