Sha256: 9e91506e0414ee0319465fc766609f057e894b465212691c82a8db9e3114421b
Contents?: true
Size: 389 Bytes
Versions: 29
Compression:
Stored size: 389 Bytes
Contents
require 'puma/launcher' require 'puma/configuration' module Puma def self.run(opts={}) cfg = Puma::Configuration.new do |user_config| if port = opts[:port] user_config.port port end user_config.quiet yield c end cfg.clamp events = Puma::Events.null launcher = Puma::Launcher.new cfg, :events => events launcher.run end end
Version data entries
29 entries across 27 versions & 2 rubygems