diff options
author | Peter Zhu <peter@peterzhu.ca> | 2022-09-26 11:39:36 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2022-09-26 14:54:32 -0400 |
commit | aa2a428cfb3f4273f51358eb4e7fab235c7d36c2 (patch) | |
tree | 620e0c6ebd12428d2bee57c733e99c9bd82c1af4 /dir.rb | |
parent | 830b5b5c351c5c6efa5ad461ae4ec5085e5f0275 (diff) | |
download | ruby-aa2a428cfb3f4273f51358eb4e7fab235c7d36c2.tar.gz |
Refactor str_substr and str_subseq
This commit extracts common code between str_substr and rb_str_subseq
into a function called str_subseq.
This commit also applies optimizations in commit 2e88bca to
rb_str_subseq.
Diffstat (limited to 'dir.rb')
0 files changed, 0 insertions, 0 deletions