diff options
author | Patrick Simianer <p@simianer.de> | 2014-07-13 14:04:45 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-07-13 14:04:45 +0200 |
commit | 625269764ebbe8d0b566e6ef5fc26a6bccd4181d (patch) | |
tree | 70c54cb1dae9afddaefd7f0824427e95dd688081 /test_msgpack_ruby |
init
Diffstat (limited to 'test_msgpack_ruby')
-rwxr-xr-x | test_msgpack_ruby | 9 |
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" + |