ruby: update rdoc

This commit is contained in:
frsyuki
2010-05-25 02:55:58 +09:00
parent d0af8aa9f1
commit dbebe9771b
3 changed files with 12 additions and 8 deletions

View File

@@ -27,10 +27,18 @@ static VALUE mMessagePack;
* It enables to exchange structured objects between many languages like JSON.
* But unlike JSON, it is very fast and small.
*
* You can install MessagePack with rubygems.
*
* gem install msgpack
*
* Simple usage is as follows.
*
* require 'msgpack'
* msg = [1,2,3].to_msgpack #=> "\x93\x01\x02\x03"
* MessagePack.unpack(msg) #=> [1,2,3]
*
* Use Unpacker class for streaming deserialization.
*
*/
void Init_msgpack(void)
{