diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-04 07:19:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-04 07:19:23 +0000 |
commit | 413f24d3b01ee6ceaf8b025cf64e05155689fdbe (patch) | |
tree | 8745c6ea3b40f5bc6a20630738b774554dda8c19 /string.c | |
parent | ab682d95e077b43db7dfd293744aa546888d7e35 (diff) | |
download | ruby-413f24d3b01ee6ceaf8b025cf64e05155689fdbe.tar.gz |
* whitespace cleanup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5233,14 +5233,14 @@ rb_str_tr_bang(VALUE str, VALUE src, VALUE repl) * call-seq: * str.tr(from_str, to_str) => new_str * - * Returns a copy of <i>str</i> with the characters in <i>from_str</i> - * replaced by the corresponding characters in <i>to_str</i>. If + * Returns a copy of <i>str</i> with the characters in <i>from_str</i> + * replaced by the corresponding characters in <i>to_str</i>. If * <i>to_str</i> is shorter than <i>from_str</i>, it is padded with its last * character in order to maintain the correspondence. * * "hello".tr('el', 'ip') #=> "hippo" * "hello".tr('aeiou', '*') #=> "h*ll*" - * + * * Both strings may use the c1-c2 notation to denote ranges of characters, * and <i>from_str</i> may start with a <code>^</code>, which denotes all * characters except those listed. |