[#105450] [Ruby master Feature#18228] Add a `timeout` option to `IO.copy_stream` — "byroot (Jean Boussier)" <noreply@...>
Issue #18228 has been reported by byroot (Jean Boussier).
11 messages
2021/09/27
[ruby-core:105130] [Ruby master Feature#18146] Add `delete_prefix` and `delete_suffix` to `Pathname`
From:
"koic (Koichi ITO)" <noreply@...>
Date:
2021-09-03 04:59:48 UTC
List:
ruby-core #105130
Issue #18146 has been reported by koic (Koichi ITO). ---------------------------------------- Feature #18146: Add `delete_prefix` and `delete_suffix` to `Pathname` https://bugs.ruby-lang.org/issues/18146 * Author: koic (Koichi ITO) * Status: Open * Priority: Normal ---------------------------------------- `Pathname` has `sub` method, but does not have the methods mentioned in the title. `Pathname` may be able to provide `delete_prefix` and `delete_suffix` like `String#delete_prefix` and `String#delete_suffix` added in Ruby 2.5 This is an idea I got from feedback on RuboCop Performance. https://github.com/rubocop/rubocop-performance/issues/245 Thank you. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>