diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-24 15:39:32 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-24 15:39:32 +0000 |
commit | 072ac9a2004ed5dbd1ed86f26cc42ed333e22344 (patch) | |
tree | 978a163755e87f14769dc61ce97f2e360a2f9424 /string.c | |
parent | 1914720cba2b2bdec07c5a88d242e6f0e1a5615c (diff) |
merge revision(s) 40434:
* string.c: Document String#setbyte return value by @gjmurakami-10gen
[Fixes GH-294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4090,9 +4090,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) |