summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-07 05:46:30 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-07 05:46:30 +0000
commit911e4ee15a2742d94770e6f55337f261cf37489a (patch)
tree866f381010c943aafaa5dce32aa9951ae1262611 /string.c
parent882dda96a4d9150ab104978c581c49cb3e88fdee (diff)
* removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/string.c b/string.c
index 711918b4e6..61b0a96ef6 100644
--- a/string.c
+++ b/string.c
@@ -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.