diff options
author | ayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-24 02:56:30 +0000 |
---|---|---|
committer | ayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-24 02:56:30 +0000 |
commit | 7e76ab5e5e083d195647240580d1581f019396d3 (patch) | |
tree | 24eb05fb0d9556d2db35fda7810709cce6173f54 /string.c | |
parent | 7a1180c7457b9ac79d4fa37e296a74e0e6655f79 (diff) | |
download | ruby-7e76ab5e5e083d195647240580d1581f019396d3.tar.gz |
* 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
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |