lib/yard/server/doc_server_serializer.rb in yard-0.6.3 vs lib/yard/server/doc_server_serializer.rb in yard-0.6.4
- old
+ new
@@ -1,8 +1,10 @@
require 'webrick/httputils'
module YARD
module Server
+ # A custom {Serializers::Base serializer} which returns resource URLs instead of
+ # static relative paths to files on disk.
class DocServerSerializer < Serializers::FileSystemSerializer
include WEBrick::HTTPUtils
def initialize(command)
super(:command => command, :extension => '')