Sha256: f6e23faa9e65e508dbe2ef8c09d21d3679c7b264e9f17ff3942b48a285c97418
Contents?: true
Size: 556 Bytes
Versions: 5
Compression:
Stored size: 556 Bytes
Contents
require 'roby' require 'roby/log/gui/replay' app = Qt::Application.new(ARGV) main = Replay.setup(ARGV) if ARGV.empty? Roby.app.setup streams = Roby.app.data_streams(Roby.app.log_dir) streams.each do |stream| stream.open main.add_stream(stream) end else ARGV.each do |file| if streams = Roby.app.data_source([file]) streams.each { |s| s.open } main.add_stream(streams) else STDERR.puts "WARN: unknown file type #{file}" end end end begin main.show app.exec rescue STDERR.puts $!.full_message end
Version data entries
5 entries across 5 versions & 1 rubygems