method

deep_transform_values!

v8.1.1 - Show latest stable - Class: Hash
deep_transform_values!(&block)
public

Destructively converts all values by using the block operation. This includes the values from the root hash and from all nested hashes and arrays.