class StripChart::Web
Public Class Methods
new(channel)
click to toggle source
# File lib/stripchart/web.rb, line 5 def initialize(channel) @channel = channel end
Public Instance Methods
run!()
click to toggle source
# File lib/stripchart/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