1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* string.c (rb_str_prepend): Fix documentation for String#prepend.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ayumin 2012-02-24 02:56:30 +00:00
parent 7a1180c745
commit 7e76ab5e5e
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
Fri Feb 24 11:48:07 2012 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* string.c (rb_str_prepend): Fix documentation for String#prepend.
Patched from Franck Verrot via http://github.com/ruby/ruby/pull/98
Fri Feb 24 10:08:33 2012 Eric Hodel <drbrain@segment7.net>
* lib/net/http.rb (Net::HTTP#transport_request): Fix infinite loop

View file

@ -2147,9 +2147,9 @@ rb_str_concat(VALUE str1, VALUE str2)
*
* Prepend---Prepend the given string to <i>str</i>.
*
* a = "world"
* a.prepend("hello ") #=> "hello world"
* a #=> "hello world"
* a = "world"
* a.prepend("hello ") #=> "hello world"
* a #=> "hello world"
*/
static VALUE