summaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorfrsyuki <frsyuki@users.sourceforge.jp>2010-06-29 14:54:09 +0900
committerfrsyuki <frsyuki@users.sourceforge.jp>2010-06-29 14:54:09 +0900
commit9fffa9800ae4b09180d2b892f1f70215534a874b (patch)
tree8105d93751a78f8e9a26a180c2f481ef99f12cba /ruby
parent82a5dd6cf9a49f6ffa444d5fc0ba5d4e3f10eb3e (diff)
downloadmsgpack-python-9fffa9800ae4b09180d2b892f1f70215534a874b.tar.gz
ruby: fixes RDoc of Unpacker#execute and Unpacker#execute_impl
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.
*