diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-09-20 15:13:13 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-09-21 00:03:07 +0900 |
| commit | 58ba38fe1e11828190596b44e0789dd8a0607ff3 (patch) | |
| tree | 8325ab9b013efd4330c3446f19890dc7fc3635bd /include/mruby.h | |
| parent | f23f2bbdad7a15bec8812b029cb23c2117d7c63c (diff) | |
| download | mruby-58ba38fe1e11828190596b44e0789dd8a0607ff3.tar.gz mruby-58ba38fe1e11828190596b44e0789dd8a0607ff3.zip | |
Add `String#tr` and `#tr!` to `mruby-string-ext` gem; fix #4086
This patch is based on `mruby/c` implementation by Hirohito Higashi.
We might need to add `#tr_s`, `#squeeze` and `#delete` as well.
Adding them should not be too hard using functions we implemented here.
Diffstat (limited to 'include/mruby.h')
0 files changed, 0 insertions, 0 deletions
