Sha256: 416d3e0fa7bb3ed23d77bc2e0781cf1db3f71cff01ca4a0adfa767f2e2f0bb51
Contents?: true
Size: 515 Bytes
Versions: 9
Compression:
Stored size: 515 Bytes
Contents
module Scout class Command class Realtime < Command def run streamer_command = @args.first # Spawn or stop streamer as needed if streamer_command.start_with?("start") puts "streamer command: start" Scout::StreamerDaemon.start_daemon(history, streamer_command, @hostname, @http_proxy) elsif streamer_command == "stop" puts "streamer command: stop" Scout::StreamerDaemon.stop_daemon(history) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems