summaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'ruby')
-rwxr-xr-xruby/makegem.sh2
-rw-r--r--ruby/unpack.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ruby/makegem.sh b/ruby/makegem.sh
index 827f452..d21f06a 100755
--- a/ruby/makegem.sh
+++ b/ruby/makegem.sh
@@ -19,6 +19,8 @@ cp ../test/cases.json test/
gem build msgpack.gemspec
+rdoc rbinit.c pack.c unpack.c
+
if [ $? -eq 0 ]; then
rm -rf ext msgpack test/msgpack_test.rb
fi
diff --git a/ruby/unpack.c b/ruby/unpack.c
index 65ae476..151dbf4 100644
--- a/ruby/unpack.c
+++ b/ruby/unpack.c
@@ -638,7 +638,7 @@ static VALUE MessagePack_Unpacker_execute_impl(VALUE self, VALUE data,
* Document-method: MessagePack::Unpacker#execute_limit
*
* call-seq:
- * unpacker.unpack_limit(data, offset, limit) -> next offset
+ * unpacker.execute_limit(data, offset, limit) -> next offset
*
* Deserializes one object over the specified buffer from _offset_ bytes upto _limit_ bytes.
*
@@ -660,7 +660,7 @@ static VALUE MessagePack_Unpacker_execute_limit(VALUE self, VALUE data,
* Document-method: MessagePack::Unpacker#execute
*
* call-seq:
- * unpacker.unpack(data, offset) -> next offset
+ * unpacker.execute(data, offset) -> next offset
*
* Deserializes one object over the specified buffer from _offset_ bytes.
*