method

virtual_host

v1_8_7_330 - Show latest stable - Class: WEBrick::HTTPServer
virtual_host(server)
public

No documentation available.

# File lib/webrick/httpserver.rb, line 136
    def virtual_host(server)
      @virtual_hosts << server
      @virtual_hosts = @virtual_hosts.sort_by{|s|
        num = 0
        num -= 4 if s[:BindAddress]
        num -= 2 if s[:Port]
        num -= 1 if s[:ServerName]
        num
      }
    end