summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-24 04:55:07 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-24 04:55:07 +0000
commit6dc1ee17c523e070568c4e4efe940eaa6f023820 (patch)
tree8cd92f915d6189313e0f32ff6b068b4b65f5059a /string.c
parent6500760bd35bd14fb9ffaf35fa5aa8f85c0846f0 (diff)
* string.c: Document String#setbyte return value by @gjmurakami-10gen
[Fixes GH-294] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string.c b/string.c
index 42798385fa..00a3399db9 100644
--- a/string.c
+++ b/string.c
@@ -4092,9 +4092,9 @@ rb_str_getbyte(VALUE str, VALUE index)
/*
* call-seq:
- * str.setbyte(index, int) -> int
+ * str.setbyte(index, integer) -> integer
*
- * modifies the <i>index</i>th byte as <i>int</i>.
+ * modifies the <i>index</i>th byte as <i>integer</i>.
*/
static VALUE
rb_str_setbyte(VALUE str, VALUE index, VALUE value)