From 625269764ebbe8d0b566e6ef5fc26a6bccd4181d Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Sun, 13 Jul 2014 14:04:45 +0200 Subject: init --- test_msgpack_ruby | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 test_msgpack_ruby (limited to 'test_msgpack_ruby') diff --git a/test_msgpack_ruby b/test_msgpack_ruby new file mode 100755 index 0000000..0f2d387 --- /dev/null +++ b/test_msgpack_ruby @@ -0,0 +1,9 @@ +#!/usr/bin/env ruby + +require 'msgpack' + + +msg = MessagePack.unpack(File.new(ARGV[0]).read) + +STDERR.write "#{msg["edges"].last()["rule"][1..4]}\n" + -- cgit v1.2.3