summaryrefslogtreecommitdiff
path: root/test_msgpack_ruby
blob: 0f2d38738d81f091c04c4d3f69263b083469e258 (plain)
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"