1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Remove confusing private call (#1882)

`private` method doesn't make class methods private.
(To make class methods private, use `private_class_method`.)
That was confusing so it's removed.
This commit is contained in:
OKURA Masafumi 2019-08-07 00:54:11 +09:00 committed by Nate Berkopec
parent 3045f8cfea
commit be13b96885

View file

@ -88,7 +88,7 @@ module Rack
"Verbose" => "Don't report each request (default: false)"
}
end
private
def self.set_host_port_to_config(host, port, config)
config.clear_binds! if host || port