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

Handle -Obind options from rackup

This commit is contained in:
Evan Phoenix 2011-09-27 11:44:21 -07:00
parent d4cf05c51e
commit fed1c84222

View file

@ -54,6 +54,12 @@ module Puma
def load_rackup
@app, options = Rack::Builder.parse_file @rackup
@options.merge! options
options.each do |key,val|
if key.to_s[0,4] == "bind"
@binds << val
end
end
end
def run