module YARD::Server

Public Class Methods

register_static_path(path) click to toggle source

Registers a static path to be used in static asset lookup. @param [String] path the pathname to register @return [void] @since 0.6.2

# File lib/yard/server.rb, line 7
def self.register_static_path(path)
  Commands::StaticFileCommand::STATIC_PATHS.push(path)
end