mirror of
https://github.com/ruby/ruby.git
synced 2026-08-21 19:53:04 +08:00
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