Module YARD::Server::Commands::StaticFileHelpers
In: lib/yard/server/commands/static_file_helpers.rb

Include this module to get access to {static_template_file?} and {favicon?} helpers.

Methods

Included Modules

WEBrick::HTTPUtils

Public Instance methods

Serves an empty favicon. @raise [FinishRequest] finalizes an empty body if the path matches

  /favicon.ico so browsers don't complain.

Attempts to route a path to a static template file.

@raise [FinishRequest] if a file was found and served @return [void]

[Validate]