method
virtual_host
virtual_host(server)
public
Hide source
# 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