1 2 3 4 5 6 7 8 9
#!/usr/bin/env ruby require 'msgpack' msg = MessagePack.unpack(File.new(ARGV[0]).read) STDERR.write "#{msg["edges"].last()["rule"][1..4]}\n"