mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
0e4121aa5b
commit
499a59d543
1 changed files with 1 additions and 1 deletions
2
string.c
2
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
|
||||
|
|
Loading…
Reference in a new issue