[前][次][番号順一覧][スレッド一覧]

ruby-changes:28382

From: zzak <ko1@a...>
Date: Wed, 24 Apr 2013 13:55:19 +0900 (JST)
Subject: [ruby-changes:28382] zzak:r40434 (trunk): * string.c: Document String#setbyte return value by @gjmurakami-10gen

zzak	2013-04-24 13:55:07 +0900 (Wed, 24 Apr 2013)

  New Revision: 40434

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40434

  Log:
    * string.c: Document String#setbyte return value by @gjmurakami-10gen
      [Fixes GH-294]

  Modified files:
    trunk/ChangeLog
    trunk/string.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40433)
+++ ChangeLog	(revision 40434)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Apr 24 13:54:00 2013  Zachary Scott  <zachary@z...>
+
+	* string.c: Document String#setbyte return value by @gjmurakami-10gen
+	  [Fixes GH-294]
+
 Wed Apr 24 13:45:00 2013  Zachary Scott  <zachary@z...>
 
 	* class.c: Example of Object#methods by @windwiny [Fixes GH-293]
Index: string.c
===================================================================
--- string.c	(revision 40433)
+++ string.c	(revision 40434)
@@ -4092,9 +4092,9 @@ rb_str_getbyte(VALUE str, VALUE index) https://github.com/ruby/ruby/blob/trunk/string.c#L4092
 
 /*
  *  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)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]