add examples

git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@84 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
This commit is contained in:
frsyuki
2009-02-15 09:10:00 +00:00
parent 05b63f6c87
commit 7e872371a2
5 changed files with 320 additions and 0 deletions

5
example/simple.rb Normal file
View File

@@ -0,0 +1,5 @@
require 'msgpack'
serialized = [1, -1, true, false, nil, {"key" => "value"}].to_msgpack
p MessagePack.unpack(serialized)