class StripMem::Web

Public Class Methods

new(channel) click to toggle source
# File lib/stripmem/web.rb, line 5
def initialize(channel)
  @channel = channel
end

Public Instance Methods

run!() click to toggle source
# File lib/stripmem/web.rb, line 9
def run!
  puts "Starting a server on http://localhost:9999/"
  App.run!(:port => 9999, :server => 'webrick') do
    system "open http://localhost:9999/"
  end
end