summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-17 21:50:17 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-17 21:50:17 +0000
commitc98396334f7bf980e5bed863d86022fc28f66e2d (patch)
treee4e24eb0748f6162d470e512833cb87e9058fbbd /string.c
parente2ee4678a1b1be108149beab0a85599c39464a91 (diff)
* proc.c: Small documentation fixes.
* re.c: ditto * string.c: ditto * time.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27872 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 22b914d234..385890ef13 100644
--- a/string.c
+++ b/string.c
@@ -1399,7 +1399,7 @@ rb_check_string_type(VALUE str)
* Returns converted string or nil if <i>obj</i> cannot be converted
* for any reason.
*
- * String.try_convert("str") #=> str
+ * String.try_convert("str") #=> "str"
* String.try_convert(/re/) #=> nil
*/
static VALUE