Sha256: 476ece7385652de3447802f124a5deabed67832e1e253bee9c5a357875f08fa4
Contents?: true
Size: 286 Bytes
Versions: 2
Compression:
Stored size: 286 Bytes
Contents
require 'sinatra/base' module StripMem class Web def initialize(channel) @channel = channel end def run! App.run!(:port => 9999, :server => 'webrick') end class App < Sinatra::Base get '/' do erb :index end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stripmem-0.0.2 | lib/stripmem/web.rb |
stripmem-0.0.1 | lib/stripmem/web.rb |