summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-24 15:39:32 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-24 15:39:32 +0000
commit072ac9a2004ed5dbd1ed86f26cc42ed333e22344 (patch)
tree978a163755e87f14769dc61ce97f2e360a2f9424
parent1914720cba2b2bdec07c5a88d242e6f0e1a5615c (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
-rw-r--r--ChangeLog5
-rw-r--r--string.c4
-rw-r--r--version.h2
3 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5565e5e8b7..9b0cac5035 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Apr 25 00:39:16 2013 Zachary Scott <zachary@zacharyscott.net>
+
+ * string.c: Document String#setbyte return value by @gjmurakami-10gen
+ [Fixes GH-294]
+
Thu Apr 25 00:38:06 2013 Zachary Scott <zachary@zacharyscott.net>
* ext/socket/lib/socket.rb: Doc typos by @vipulnsward [Fixes GH-292]
diff --git a/string.c b/string.c
index 7fb354b433..02d2474bc2 100644
--- a/string.c
+++ b/string.c
@@ -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)
diff --git a/version.h b/version.h
index c6fcc86a16..d6717292ed 100644
--- a/version.h
+++ b/version.h
@@ -1,6 +1,6 @@
#define RUBY_VERSION "2.0.0"
#define RUBY_RELEASE_DATE "2013-04-25"
-#define RUBY_PATCHLEVEL 164
+#define RUBY_PATCHLEVEL 165
#define RUBY_RELEASE_YEAR 2013
#define RUBY_RELEASE_MONTH 4