Class: Puma::DSL

Inherits:
Object
  • Object
show all
Defined in:
lib/puma/dsl.rb

Overview

Extend the ::Puma::DSL module with the configuration options we want

Instance Method Summary collapse

Instance Method Details

#auto_cert_port(port = nil) ⇒ Object



14
15
16
17
# File 'lib/puma/dsl.rb', line 14

def auto_cert_port(port = nil)
  @options[:auto_cert_port] = port if port
  @options[:auto_cert_port]
end