Sha256: 3d7d7f1787eb16a2dfc194a8f91b83d867884487ad35389ad0f97cacfe90813e
Contents?: true
Size: 413 Bytes
Versions: 6
Compression:
Stored size: 413 Bytes
Contents
module Waves class Server < Worker def start_tasks @server = config.server.new( application, host, port ) @server.start end def stop_tasks ; @server.stop ; end private def application ; @app ||= config.application.to_app ; end def port ; @port ||= options[:port] or config.port ; end def host ; @host ||= options[:host] or config.host ; end end end
Version data entries
6 entries across 6 versions & 4 rubygems