Sha256: 71a629c7c86f3541a4055d29d6c302d471cb49f45e9a435488e7dd9dbddaecf0
Contents?: true
Size: 323 Bytes
Versions: 13
Compression:
Stored size: 323 Bytes
Contents
module Devcenter::Previewer class WebServer require 'thin' def initialize(host, port, app) @host, @port = host, port Thin::Logging.silent = true @server = Thin::Server.new(@host, @port, app) end def start @server.start end def stop @server.stop end end end
Version data entries
13 entries across 13 versions & 1 rubygems