summaryrefslogtreecommitdiff
path: root/ruby/rbinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/rbinit.c')
-rw-r--r--ruby/rbinit.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ruby/rbinit.c b/ruby/rbinit.c
index 050abde..4ad6beb 100644
--- a/ruby/rbinit.c
+++ b/ruby/rbinit.c
@@ -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)
{