class Puma::DSL
def port(port, host=nil)
@example
Define the TCP port to bind to. Use +bind+ for more advanced options.
def port(port, host=nil) host ||= default_host bind URI::Generic.build(scheme: 'tcp', host: host, port: Integer(port)).to_s end
def port(port, host=nil) host ||= default_host bind URI::Generic.build(scheme: 'tcp', host: host, port: Integer(port)).to_s end