From 0f5c7f3830a0a88546ab778b9a1a453ec56c3469 Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Sun, 11 Oct 2020 20:28:31 -0500 Subject: [PATCH] puma/configuration.rb - 'overview' doc fixup [ci skip] --- lib/puma/configuration.rb | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/puma/configuration.rb b/lib/puma/configuration.rb index f88b7cdd..fe0d1709 100644 --- a/lib/puma/configuration.rb +++ b/lib/puma/configuration.rb @@ -108,16 +108,17 @@ module Puma # # It also handles loading plugins. # - # > Note: `:port` and `:host` are not valid keys. By the time they make it to the + # [Note:] + # `:port` and `:host` are not valid keys. By the time they make it to the # configuration options they are expected to be incorporated into a `:binds` key. # Under the hood the DSL maps `port` and `host` calls to `:binds` # - # config = Configuration.new({}) do |user_config, file_config, default_config| - # user_config.port 3003 - # end - # config.load - # puts config.options[:port] - # # => 3003 + # config = Configuration.new({}) do |user_config, file_config, default_config| + # user_config.port 3003 + # end + # config.load + # puts config.options[:port] + # # => 3003 # # It is expected that `load` is called on the configuration instance after setting # config. This method expands any values in `config_file` and puts them into the