Sha256: bb3012557445660611e5da441a7b043ec8fad934719fad06070352ac9373ac8b
Contents?: true
Size: 254 Bytes
Versions: 1
Compression:
Stored size: 254 Bytes
Contents
require 'here_server/version' require 'webrick' module HereServer def self.run server = WEBrick::HTTPServer.new :Port => 1234 server.mount '/', WEBrick::HTTPServlet::FileHandler, './' trap('INT') { server.stop } server.start end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
here_server-0.0.1 | lib/here_server.rb |