Method: String#tr!
- Defined in:
- string.c
permalink #tr!(from_str, to_str) ⇒ String?
Translates str in place, using the same rules as String#tr. Returns str, or nil
if no changes were made.
7533 7534 7535 7536 7537 |
# File 'string.c', line 7533
static VALUE
rb_str_tr_bang(VALUE str, VALUE src, VALUE repl)
{
return tr_trans(str, src, repl, 0);
}
|