[DOC] TWeaks for String#delete!

This commit is contained in:
BurdetteLamar 2025-07-12 12:15:40 -05:00 committed by Peter Zhu
parent e1bc92d00b
commit b438915f0a

View file

@ -8866,9 +8866,10 @@ tr_find(unsigned int c, const char table[TR_TABLE_SIZE], VALUE del, VALUE nodel)
* call-seq:
* delete!(*selectors) -> self or nil
*
* Like String#delete, but modifies +self+ in place.
* Returns +self+ if any changes were made, +nil+ otherwise.
* Like String#delete, but modifies +self+ in place;
* returns +self+ if any characters were deleted, +nil+ otherwise.
*
* Related: see {Modifying}[rdoc-ref:String@Modifying].
*/
static VALUE