ruby/ext/pathname
Ivan Kuchin 6c16598a72 [ruby/pathname] use delete_prefix instead of sub in find method
delete_prefix with a string is easier to read than a regular expression
also it should be faster. It is available since ruby 2.5 and the gem requires
ruby 2.7.

https://github.com/ruby/pathname/commit/0070f43f19
2024-09-11 04:49:08 +00:00
..