Project

General

Profile

Actions

Feature #12512

closed

Import Hash#transform_values and its destructive version from ActiveSupport

Added by mrkn (Kenta Murata) almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Target version:
-
[ruby-core:76095]

Description

I think value transformation is a fundamental feature of Hash.


Related issues 6 (0 open6 closed)

Related to Ruby master - Feature #7793: New methods on HashClosedmatz (Yukihiro Matsumoto)Actions
Related to Ruby master - Feature #6669: A method like Hash#map but returns hashClosedmatz (Yukihiro Matsumoto)Actions
Related to Ruby master - Feature #8951: Please add a hash-to-hash alternative of the map method to HashClosedActions
Related to Ruby master - Feature #9635: Map a hash directly to a hashClosedActions
Related to Ruby master - Feature #9970: Add `Hash#map_keys` and `Hash#map_values`Closednobu (Nobuyoshi Nakada)Actions
Related to Ruby master - Feature #10208: Passing block to Enumerable#to_hClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0