summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--string.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4fa6f52d36..3067e7b2c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Apr 24 13:54:00 2013 Zachary Scott <zachary@zacharyscott.net>
+
+ * string.c: Document String#setbyte return value by @gjmurakami-10gen
+ [Fixes GH-294]
+
Wed Apr 24 13:45:00 2013 Zachary Scott <zachary@zacharyscott.net>
* class.c: Example of Object#methods by @windwiny [Fixes GH-293]
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)