class Middleman::PreviewServer::BasicInformation

def initialize(opts={})

Parameters:
  • port (Integer) --
  • server_name (String) --
  • bind_address (String) --
def initialize(opts={})
  @bind_address = ServerIpAddress.new(opts[:bind_address])
  @server_name  = ServerHostname.new(opts[:server_name])
  @port         = opts[:port]
  @valid        = true
  @site_addresses = []
  @listeners = []
  @checks = []
  # This needs to be check for each use case. Otherwise `Webrick` will
  # complain about that.
  @checks << Checks::InterfaceIsAvailableOnSystem.new
end