summaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-14 13:41:33 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-14 13:41:33 +0000
commit0ce68e33d26950cd336c20f92bd1412a7888d2c0 (patch)
treee93c8b0426d3ca827b4861812f2df1cab5d3e3e0 /string.c
parentc64227e9492ddb5773cc6a890db9775aef7a1d3c (diff)
downloadruby-0ce68e33d26950cd336c20f92bd1412a7888d2c0.tar.gz
ruby-0ce68e33d26950cd336c20f92bd1412a7888d2c0.tar.xz
ruby-0ce68e33d26950cd336c20f92bd1412a7888d2c0.zip
* string.c (rb_check_string_type): rdoc fix [ruby-core:26084]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25334 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 d7871c15e..a8f2a1eee 100644
--- a/string.c
+++ b/string.c
@@ -1382,7 +1382,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