summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-30 12:47:40 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-30 12:47:40 +0000
commit7e0875aa161a6d83bf89d9a6a20f835fbb1c578f (patch)
tree0dcd202fcfd7ca131b2fcc335f8427091e065765 /string.c
parentb8755b044e2c66baaaea28d981f192cbc53017e7 (diff)
merges r25334 from trunk into ruby_1_9_1.
-- * string.c (rb_check_string_type): rdoc fix [ruby-core:26084] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index f5945985c9..33f1646372 100644
--- a/string.c
+++ b/string.c
@@ -1283,7 +1283,7 @@ rb_check_string_type(VALUE str)
* String.try_convert(obj) -> string or nil
*
* Try to convert <i>obj</i> into a String, using to_str method.
- * Returns converted regexp or nil if <i>obj</i> cannot be converted
+ * Returns converted string or nil if <i>obj</i> cannot be converted
* for any reason.
*
* String.try_convert("str") # => str