Issue #12512 has been updated by Yukihiro Matsumoto.

Assignee changed from Yukihiro Matsumoto to Kenta Murata

From our discussion, we concerned `map_values` is too close to `map.values`, which has totally different semantics. Besides that, we are thinking about adding other methods like `map_k` and `map_kv`.

Matz.



----------------------------------------
Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
https://bugs.ruby-lang.org/issues/12512#change-60100

* Author: Kenta Murata
* Status: Open
* Priority: Normal
* Assignee: Kenta Murata
----------------------------------------
I think value transformation is a fundamental feature of Hash.



-- 
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>