From: matz@... Date: 2016-09-07T06:13:55+00:00 Subject: [ruby-core:77173] [Ruby trunk Feature#12512] Import Hash#transform_values and its destructive version from ActiveSupport Issue #12512 has been updated by Yukihiro Matsumoto. Ok, I will introduce `transform_values` (not `map_v` nor `map_values`). I wanted a `Hash` generation method in `Enumerable` (e.g. `map_kv`), and the proposed method name to be consistent with the name. But I found out that they are not really "map" functions, so they shouldn't be named `map_*`. So I gave up the idea of `map_v` and `map_kv` altogether. The original name `transform_values` describes the intention better. Matz. ---------------------------------------- Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport https://bugs.ruby-lang.org/issues/12512#change-60387 * Author: Kenta Murata * Status: Open * Priority: Normal * Assignee: Yukihiro Matsumoto ---------------------------------------- I think value transformation is a fundamental feature of Hash. -- https://bugs.ruby-lang.org/ Unsubscribe: