summaryrefslogtreecommitdiff
path: root/test_msgpack_ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test_msgpack_ruby')
-rwxr-xr-xtest_msgpack_ruby9
1 files changed, 9 insertions, 0 deletions
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"
+