lib/rack/handler/reel.rb
# Transform the options that rails s reel passes
Transform the options that rails s reel passes
Transform the options that rails s reel passes
def normalize_options(options)
        options = options.inject({}) { |h, (k,v)| h[k.downcase] = v ; h }
        options[:rackup] = options[:config] if options[:config]
        options[:port] = options[:port].to_i if options[:port]
        options
      end
def normalize_options ( options ) options = options . inject ( { } ) { | h , ( k , v ) | h [ k . downcase ] = v ; h } options [ :rackup ] = options [ :config ] if options [ :config ] options [ :port ] = options [ :port ] . to_i if options [ :port ] options end
Transform the options that rails s reel passes
Transform the options that rails s reel passes
options
<not_specific>