* string.c (rb_check_string_type): rdoc fix [ruby-core:26084]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
marcandre 2009-10-14 13:41:33 +00:00
parent 0e4121aa5b
commit 499a59d543

View File

@ -1382,7 +1382,7 @@ rb_check_string_type(VALUE str)
* String.try_convert(obj) -> string or nil * String.try_convert(obj) -> string or nil
* *
* Try to convert <i>obj</i> into a String, using to_str method. * 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. * for any reason.
* *
* String.try_convert("str") # => str * String.try_convert("str") # => str