From: matz@... Date: 2018-04-19T05:22:10+00:00 Subject: [ruby-core:86586] [Ruby trunk Feature#14559] ENV.slice Issue #14559 has been updated by matz (Yukihiro Matsumoto). It seems OK to me. Matz. ---------------------------------------- Feature #14559: ENV.slice https://bugs.ruby-lang.org/issues/14559#change-71529 * Author: sawa (Tsuyoshi Sawada) * Status: Assigned * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Target version: ---------------------------------------- I would like to request `ENV.slice`, which should behave analogous to `Hash#slice`. ```ruby ENV.slice("PATH", "FOO") # => {"PATH" => "/foo:/bar", "FOO" => "foo"} ``` ---Files-------------------------------- env_slice.patch (2.23 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: