Sha256: a8f4f557670a8224e24112a88f3a6e04a01158e841af08ed1a427df8aae7dccc

Contents?: true

Size: 286 Bytes

Versions: 3

Compression:

Stored size: 286 Bytes

Contents

module YARD
  module Server
    module Commands
      # Serves requests from the root of the server
      class RootRequestCommand < Base
        include StaticFileHelpers

        def run
          static_template_file? || favicon? || not_found
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yard-0.9.5 lib/yard/server/commands/root_request_command.rb
yard-0.9.4 lib/yard/server/commands/root_request_command.rb
yard-0.9.3 lib/yard/server/commands/root_request_command.rb