1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* string.c (rb_str_scrub): [DOC] add param str.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-12-05 13:05:04 +00:00
parent 007f35ba89
commit efbcd1cb25

View file

@ -7983,6 +7983,7 @@ str_compat_and_valid(VALUE str, rb_encoding *enc)
}
/**
* @param str the string to be scrubbed
* @param repl the replacement character
* @return If given string is invalid, returns a new string. Otherwise, returns Qnil.
*/